Arena tournaments

Client.get_arena_all()

Get recently finished, ongoing, and upcoming tournaments

Returns

A dictionary with the recently finished, ongoing, and upcoming tournaments

Return type

dict


Client.get_arena_info(tournament_id, page=1)

Get info about an Arena tournament

Parameters
  • tournament_id (str) – ID of Arena tournament to query

  • page (Optional[int]) –

Returns

A dictionary with the info about the queried Arena tournament

Return type

dict


Client.export_arena_games(tournament_id)

Export games of an Arena tournament

Parameters

tournament_id (str) – ID of Arena tournament to query

Returns

A string with PGN data of the Arena tournament’s games

Return type

str


Client.get_arena_results(tournament_id, max_players=None)

Get results of an Arena tournament

Parameters
  • tournament_id (str) – ID of Arena tournament to query

  • max_players (Optional[int]) – Maximum number of players to fetch

Returns

A list with dictionaries of Arena tournament players, with their score and performance, sorted by rank (best first)

Return type

list


Client.get_teambattle_info(tournament_id)

Get team standing of a team battle

Parameters

tournament_id (str) – ID of arena tournament to query

Returns

A dictionary with the info about the queried team battle

Return type

dict


Client.get_arena_createdby(user)

Get tournaments created by a user

Parameters

user (str) – User to query their created tournaments

Returns

A list with dictionaries of all the tournaments created by the user

Return type

list