This tool automates your starting lineup for Yahoo Fantasy Baseball.
For a simpler app that just pulls in the raw data, and a more complete walkthrough on how to get the correct authorization codes from Yahoo, see my Yahoo Fantasy Baseball Reader.
NEW for 2020: It now also pulls in the list of closers, compares them against your relief pitchers, tells you to drop ones who are no longer closing, then searches your league to see which closers are still available and healthy.
To run that and only that function npm run closers
.
You'll need 3 values from Yahoo to start -- I have a detailed guide here in my Yahoo Fantasy Baseball Reader.
You'll also need to use the Node version specified in the .nvmrc
file by running nvm use
. (Details)
Navigate to the repo directory and run:
> npm start