gamesheet_sdk.admin.games.brackets module¶
Bracket and general game list operations.
- gamesheet_sdk.admin.games.brackets.list_completed(session, season_id)[source]¶
Return every completed game in the specified season.
The supplied
Sessionmust already carry a bearer token (e.g. viaSession.set_bearer_token()); the call is otherwise unauthenticated and will 401.
- gamesheet_sdk.admin.games.brackets.list_brackets(session, season_id)[source]¶
Return every bracket game in the specified season.
The supplied
Sessionmust already carry a bearer token (e.g. viaSession.set_bearer_token()); the call is otherwise unauthenticated and will 401.Notes
The brackets filter is based on the expected API pattern but has not been verified with real bracket data. If this returns unexpected results, the filter parameters may need adjustment.
- gamesheet_sdk.admin.games.brackets.get_game(session, season_id, game_id)[source]¶
Get a single game by ID.
The supplied
Sessionmust already carry a bearer token (e.g. viaSession.set_bearer_token()); the call is otherwise unauthenticated and will 401.- Parameters:
- Returns:
Game – The
Gamewith the specified ID.- Raises:
GameSheetError – For any other non-2xx response, including 404 if the game is not found.
- Return type: