I have made the following changes as I needed to add some features so I could use it for my discord bot:
Changed the team_score variable in get_scoreboards to use the 'points' object which is returned by the sleeper api, meaning the scores are updated live instead of with the specific year.
Added a get_lineups function, which returns the user plus their team for the given week, it returns the player_ids from the sleeper api, making it easy to map to a database full of the play details from the fetch all players call.
Hi,
I have made the following changes as I needed to add some features so I could use it for my discord bot: