Skip to content

A Twitter bot that monitors local rainfall reports and tweets when Portland's sewers are likely to overflow into Casco Bay

Notifications You must be signed in to change notification settings

vigorousnorth/sewerbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CascoBaySewerBot

A Twitter notification bot for likely sewer overflow (CSO) events in Portland, Maine, based on weather and historical reports. A @pressherald project by @c_milneil.

The interesting stuff is contained in the bot.js file. There, the tweetConditions() function downloads current weather reports from the Weather Underground API, and, if conditions warrant, call the status() function to compose a tweet.

Configuration

These files are currently deployed as a Node.js app on Heroku. To adapt this code, you'll need to adjust the config.js file to include your own Twitter API and Weather Underground API keys.

About

A Twitter bot that monitors local rainfall reports and tweets when Portland's sewers are likely to overflow into Casco Bay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages