0

I'm writing a script that takes as input fantasy baseball rosters, current fantasy league standings, and projections for the stats expected for players on the roster for the remainder of the season and produces a projected final standings.

The projections I'd like to use are provided by fangraphs. In order to get the data manually, I have to navigate to the site and click the "Export Data" function, which downloads a CSV file to a pre-determined location. Is there a way to automate this?

I'm writing the script in python so if there's a specific python package I can use that'd be great to know. Otherwise, if there's a more general approach to solving this problem I can probably look up the specifics myself. I didn't know what terminology to use when googling for a solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.