- Mitchell Bregman
- Leon Kozlowski
$ git clone https://github.com/themarathoncontinues/fantasy-analytics.git
$ cd fantasy-analytics
$ python3.6 -m venv venv
$ source venv/bin/activate
$ pip install -e .
In order to see any logger level logs test locally
$ echo "espn_s2 = {your_espn_s2_here}" >> .env
$ echo "swid = {your_swid_here}" >> .env
$ echo "username = {your_username_here}" >> .env
$ echo "password = {your_password_here}" >> .env
$ python notebooks/league_tester.py
With Prefect flows all downstream and upstream tasks can be tracked
Flow('league_flow')
- fetch league metadata for a given league and year
Flow('players_flow)
- fetch players for every roster in a league