- Python 3.7.x
- Pipenv
- An active Yahoo Fantasy Football team
Just install the pip dependencies with pipenv install
Add these to a gitignored file called .env
at the repository's root
LEAGUE_ID
- this can be retrieved from the URL on any league pageSEASON
- the 4-digit year of the current NFL seasonWEEKS
- total number of weeks in your leagueQB
- Your league's setting for total quarterbacks in a starting lineupRB
- Your league's setting for total running backs in a starting lineup (not including the FLEX slot)WR
- Your league's setting for total wide receivers in a starting lineup (not including the FLEX slot)TE
- Your league's setting for total tight ends in a starting lineup (not including the FLEX slot)K
- Your league's setting for total kickers in a starting lineupDEF
- Your league's setting for total defenses in a starting lineupHAS_FLEX
-true
if you're league is configured to include the "FLEX" position, elsefalse
REQUEST_COOKIE
- The value of thecookie
HTTP header that gets passed around as you navigate through your Yahoo Fantasy Football league in the web browser (you'll need to use your browser's dev tools to grab this value)
make scout
- deploy this as a once-daily process on AWS that emails the report to me
- add additional scouting tasks for things like finding a waiver/FA prospect, reminders to optimize my starting lineup, etc