mwenge / tidebot

Twitter Tide Bot for Dublin Port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter Bot for Dublin Port Tides

Setting Up

You will need a credentials.py file that looks something like:

access_token = '15CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCxy'
access_token_secret = 'gcJCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCRC'

api_key = "tuCCCCCCCCCCCCCCCyK"
api_key_secret = "IkCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC5rU1"
bearer_token = "AAAAACCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCTGqPLEhhfIZiai"

Maintenance

Every now and then go to: https://erddap.marine.ie/erddap/tabledap/IMI-TidePrediction.html

Download a csv with the latest predictions for "Dublin_Port" as far out as the interface will allow. Then rerun gethightides.py as follows:

gethightides.py inputfile

image

About

Twitter Tide Bot for Dublin Port


Languages

Language:Python 100.0%