Swiss tournaments

Client.get_swiss_info(tournament_id)

Get info about a Swiss tournament

Parameters

tournament_id (str) – ID of Swiss tournament to query

Returns

A dictionary with the info about the queried Swiss tournament

Return type

dict


Client.export_swiss_info(tournament_id)

Export the TRF of a Swiss tournament

Parameters

tournament_id (str) – ID of Swiss tournament to query

Returns

A string with TRF data of the Swiss tournament

Return type

str


Client.export_swiss_games(tournament_id)

Export games of a Swiss tournament

Parameters

tournament_id (str) – ID of Swiss tournament to query

Returns

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

Return type

str


Client.get_swiss_results(tournament_id, max_players=None)

Get results of a Swiss tournament

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

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

Returns

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

Return type

list