This is the code that powers the fourth down bot. Here are the main files of interest:
- High level bot code. This runs every minute on my server
- Checks for live games
- Maintains list of already-tweeted plays
- Tweets out new plays
- Helper functions for bot.
- Function to get play-by-play from the ESPN API
- Function to construct the tweet to be sent out