Open agrvz opened 1 month ago
Addresses #65 - adds a function to the league module to wrap the get sport state endpoint: https://docs.sleeper.com/#get-nfl-state
league
get_sport_state is not part of the League class as it doesn't follow the same API path and doesn't require a league ID to call. Open to changing this if anyone strongly thinks it should be a method attached to League.
get_sport_state
League
pytest
pytest-mock
Addresses #65 - adds a function to the
league
module to wrap the get sport state endpoint: https://docs.sleeper.com/#get-nfl-stateget_sport_state
is not part of theLeague
class as it doesn't follow the same API path and doesn't require a league ID to call. Open to changing this if anyone strongly thinks it should be a method attached toLeague
.Changes:
get_sport_state
function toleague
modulepytest
/pytest-mock
to dev dependency group