Skip to content

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

Notifications You must be signed in to change notification settings

HeisenBug1/Cheap-Gas-Notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages