chessdotcom.endpoints.country_clubs¶
List of URLs for clubs identified as being in or associated with this country.
API doc: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-country-clubs
- chessdotcom.endpoints.country_clubs.get_country_clubs(iso: str, tts=0, **request_options) GetCountryClubsResponse¶
- Parameters:
iso – country’s 2-character ISO 3166 code.
tts – the time the client will wait before making the first request.
- Returns:
GetCountryClubsResponseobject containing a list of URLs for clubs identified as being in or associated with this country.
- class chessdotcom.endpoints.country_clubs.GetCountryClubsResponse(json, text, clubs)¶
- Variables:
clubs – Holds list of URLs for clubs.
json – The JSON response from the API.
text – The raw text response from the API.