chessdotcom.endpoints.club_members¶
List of club members (usernames and joined date timestamp), grouped by club-activity frequency.
API doc: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-club-members
- chessdotcom.endpoints.club_members.get_club_members(url_id: str, tts=0, **request_options) GetClubMembersResponse¶
- Parameters:
url_id – URL for the club’s web page on www.chess.com.
tts – the time the client will wait before making the first request.
- Returns:
GetClubMembersResponse`object containing a list of club members.
- class chessdotcom.endpoints.club_members.GetClubMembersResponse(json, text, members)¶
- Variables:
members – Holds the
ClubMembersobject.json – The JSON response from the API.
text – The raw text response from the API.
- class chessdotcom.endpoints.club_members.ClubMembers(weekly: List[ClubMembersDetails], monthly: List[ClubMembersDetails], all_time: List[ClubMembersDetails])¶
- Variables:
weekly – List of
ClubMembersDetailsobjects.monthly – List of
ClubMembersDetailsobjects.all_time – List of
ClubMembersDetailsobjects.
- class chessdotcom.endpoints.club_members.ClubMembersDetails(username: str | None, joined: int | None)¶
- Variables:
username – The username of the club member.
joined – The timestamp of when the club member joined
joined_datetime – The datetime of when the club member joined