Resource for pulling team/player data for private league via the ESPN Fantasy Football API, then exporting them into a csv.
- Log in to https://fantasy.espn.com/ and update the
constants.js
file- You'll need two cookies from ESPN:
espn_s2
andSWID
. These are found at "Application > Cookies > espn.com" in the Chrome DevTools
- You'll need two cookies from ESPN:
npm install
npm start
The results will be a csv file with the parsed data created in the same directory