TV

Client.get_games_channels()

Get the best games currently being played for each speed/variant, including computer games and bot games

Returns

A dictionary with info on the current TV games

Return type

dict


Client.get_games_channel(channel, num_games=10, moves=True, pgn_in_json=False, tags=True, clocks=True, opening=True)

Get the best games currently being played for a specific speed/variant, including computer games and bot games

Parameters
  • channel (str) – Name of the channel in camelCase

  • num_games (Optional[bool]) – Number of games to fetch

  • moves (Optional[bool]) – Whether to include the PGN moves

  • pgn_in_json (Optional[bool]) – Whether to include the full PGN within the JSON response

  • tags (Optional[bool]) – Whether to include the PGN tags

  • clocks (Optional[bool]) – Whether to include clock comments, whenever available, in the PGN moves

  • opening (Optional[bool]) – Whether to include the opening name

Returns

A string with the PGN data of the best games being played for a specific speed/variant

Return type

str