chessdotcom.endpoints.player_game_archives¶
Game archives available for this player.
API doc: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-archive-list
- chessdotcom.endpoints.player_game_archives.get_player_game_archives(username: str, tts=0, **request_options) GetPlayerGameArchivesResponse¶
- Parameters:
username – username of the player.
tts – the time the client will wait before making the first request.
- Returns:
GetPlayerGameArchivesResponseobject containing a list of monthly archives available for this player.
- class chessdotcom.endpoints.player_game_archives.GetPlayerGameArchivesResponse(json: dict, text: str, archives: list)¶
- Variables:
archives – array of URLs for monthly archives in ascending chronological order.
json – The JSON response from the API.
text – The raw text response from the API.