Broadcasts
Export one round as PGN
Changed onDownload all games of a single round of a broadcast tournament in PGN format. You could poll this endpoint to get updates about a tournament, but it would be slow, and very inefficient. Instead, consider streaming the round to get a new PGN every time a game is updated, in real-time.
get/api/broadcast/round/{broadcastRoundId}.pgn
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/broadcast/round/{broadcastRoundId}.pgn
- AuthOAuth 2Authorization code: https://lichess.org/oauthToken URL: https://lichess.org/api/token scopes: study:read
Path parameters
broadcastRoundIdstring required
The round ID
Query parameters
clocksboolean
Include clock comments in the PGN moves, when available. Example: 2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }
commentsboolean
Include analysis comments in the PGN moves, when available. Example: 12. Bxf6 { [%eval 0.23] }
Response
The PGN representation of the round.
Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info