A simple command-line to scrape Bandon FEWS (Flood Early Warning System) at http://www.bandonfloodwarning.ie/ into Google Fusion Tables and COSM/Pachube
Once per hour it grabs the river level data from the Bandon FEWS site and stores it in Google Fusion Tables and COSM
- You need to setup Google API Access at https://code.google.com/apis/console/ and create a project there to get keys
- Rename client_secrets_sample.json to client_secrets.json and put those keys in client_secrets.json
- sudo pip install google-api-python-client
- First time you run it with --noauth_local_webserver to do the OAuth authentication which saves the credentials in plus.dat
- From then on it's just: python bandonfews3.py
Moved to a public repo and included the code to push data to Cosm/Pachube
Switched to new Google API Python Client and new Fusion Tables API. Much simpler/cleaner installation
Found two idiotic bugs which means we are missing 12 days of data. Grrrr. Cleaned up Cosm code to remove older Google OAuth code.