chessdotcom.endpoints.titled_players¶
Get ratings, win/loss, and other stats about a player’s game play, tactics, lessons and Puzzle Rush score.
API doc: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-titled
- chessdotcom.endpoints.titled_players.get_titled_players(title_abbrev: str, tts=0, **request_options) GetTitledPlayersResponse¶
- Parameters:
title_abbrev – abbreviation of chess title.
tts – the time the client will wait before making the first request.
- Returns:
GetTitledPlayersResponseobject containing a list of usernames.
- class chessdotcom.endpoints.titled_players.GetTitledPlayersResponse(json, text, players)¶
- Variables:
players – List of usernames.
json – The JSON response from the API.
text – The raw text response from the API.