Skip to content

stephen-eades/ff-groupme-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues GitHub issues GitHub top language

Fantasy Football GroupMe Bot

Setup your league's own Fantasy Football data GroupMe chatbot to display important league data at your command. Could not have completed this without the work of @apnorton, @stmorse and @tpagliocco.

This now supports both Public and Private ESPN leagues. Private league users need to acquire cookies used for login. If you need help, check out this Chrome extension which can get the cookies for you.

Setup

  1. Install Python 3

  2. Create a Heroku account

  3. Install the Heroku CLI

  4. Clone this repository and navigate to the root with the Heroku CLI.

  5. Add your ESPN league ID and plug in your GroupMe ID to the app.py variables. Adjust functions to fit your league. Note that historical data requests reach back as early as 2013, you can easily extend this in the code. Private league users need to input the two cookies (swid and espn_s2) required for private league requests.

  6. Log in to the Heroku CLI by calling heroku login

  7. Initialize the Heroku app by calling heroku create your-app-name

  8. To set the remote repository, call heroku git:remote -a your-app-name

  9. The repository is now linked to a new Heroku app. To deploy a new version of your app at any time, just use Git.

    1. git add . to stage your changes

    2. git commit -m "Description of changes here" to commit your changes

    3. git push heroku master to push your commit to Git and build it on Heroku

    4. To view your app's logs while it is deployed, call heroku logs -t. This will show the logs in realtime.

About

A GroupMe chatbot for ESPN Fantasy Football leagues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages