leej11/fpl_draft_league

Function to pull data / refresh data

Opened this issue · 0 comments

Describe the solution you'd like
At the moment, we keep pulling down the data ad-hoc when needed. It might make sense to have a function to pull all the relevant data and store it into relevant json files.

Then whenever you think you need an update, just call the "get json data" and it will en masse bring it down. Perhaps you could add optional args to specify just a subset of the data to be refreshed.