https://twitter.com/BoulderCreekBot
An automated twitter bot that reports the daily discharge volume of the Boulder Creek at North 75th Street, Boulder, CO. Source data is located at: https://waterdata.usgs.gov/co/nwis/uv?cb_00060=on&cb_00065=on&format=gif_default&site_no=06730200&period=45&begin_date=2018-03-21&end_date=2018-05-05
- Code for Boulder Boulder Startup week Workshop.
- Monitoring Creek discharge relative to historical discharge volumes can be a proxy for available water in the region.
- Twitter Bots are fun.
- Install Python here - preferably 2.7
- git clone this repo
pip install tweepy
+pip install requests
- Create a dummy Twitter account. For this to work, you need to associate your phone number with your Twitter account.
- Go to
apps.twitter.com
and click on 'Create New App ' button - Fill out details like so and hit
Create you Twitter Application
. - You will now have your Application Key/Secret.
- Create your Access Key/Secret.
- Fill out
secrets.py
with App/Access Key/Secrets information. python bot.py {number of days you want to look back, max 120}
- Tweak as per desire.
Saturday, My 19th