Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 903 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 903 Bytes

Cheap-Gas-Notify

A python script which collects gas prices daily and notifies when its the cheapest.

Currently it only works in USA

Flags:

--zip zipcode (5 digit US zipcode)
--receiver [email protected] (a person/youself)
--sender [email protected] (Gmail only. You'll need to edit the config file and paste your password next to this, to prevent storing your password in command history)

Optional:
--data /path/to/file (by default it'll be with your config file)

Config file:

the config file will be store in your home directory
/home/user/Cheap-Gas-Notify/config.txt

you can also manually put all these information in the config file too instead of passing them as arguments
Example of config file (in any order):

zip 12345
receiver [email protected]
sender [email protected] PASSWORD
data /home/USER/Cheap-Gas-Notify/gas_data_NY.pkl