I would be very surprised if there aren't 1000 things that do this already. Much of this is for personal practice working with tweepy and storing tweets to file as json
prerequisites:
- generate twitter api keys
- https://apps.twitter.com/
- create new app
- find your new consumer key
- find your new consumer secret
- fill a configuration file with the format shown in tpg_dealalerts.sample.conf
- pip install -r requirements.txt
usage: tpg_dealalerts_clean.py [-h] -c config_file -d db_file [-e]
twitter flight deal notifier
optional arguments:
- -h, --help show this help message and exit
- -c CONFIG required configuration file for connecting to twitter api and optionally sending email
- -d DB json db file (optional)
- -e send email (optional)