Small scripts to improve your QoL when using ESPN's fantasy football platform. Must be running Python 3 or higher.
The first script provides a constantly updating scoreboard highlighting whether you are winning, losing, or tied.
The second script shows players that you are both starting AND playing against in at least one league.
- ff-espn-api from cwendt94
- prettyTable from jazzband
-
Copy default_userData.py into userData.py
-
In userData.py, enter the current week. Update this each week to keep the tool up to date.
-
For each league you are in:
a. Replace the value in "leagues" with the league variable. If you are in multiple leagues, add them all to the array. Ex: [league1, league2, league3]
b. Replace the sample information with your own. Copy the entire block and repeat for multiple leagues.
i. Public Leagues: Leave the final two values as None for each league ii. Private Leagues: Use username and password for your ESPN account
-
Install the two necessary modules:
a.
pip install ff_espn_api
b.
pip install prettyTable
-
Run
python3 espnTool.py
- Obvious thanks to cwendt94 and jazzband, without whom the project couldn't have gotten started
- Big shoutout to VoicelessReason for showing interest, making their own changes, and getting those changes implemented