Skip to content

A project that graphs each team's points vs. their max potential points

License

Notifications You must be signed in to change notification settings

amjohnson36/FantasyGraphs

Repository files navigation

Fantasy Football Graphs Repository

This is a program used to collect data from the ESPN Fantasy Football Api for ESPN fantasy leagues. More information can be found at the reddit post here.

Libraries Used

Also huge thanks to Steven Morse for his page here where he discusses using the api and saving it as a JSON.

How to Use

  • Edit the global variables at the top of the main.py file
  • Make sure you have all the necessary libraries installed
  • Run: python3 main.py

Graphs will be stored in the graphs/ directory and box_scores.json and scoreboards.json will be saved in the main directory.

Getting the variables

The leagueID can be found by looking at the value in the URL on your leagues page. leagueID

If your league is private, the swid and espn_s2 values can be found by looking at your cookies for espn.com (Thanks again to Steven Morse for figuring this out)

About

A project that graphs each team's points vs. their max potential points

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages