Export all studies of a user
Download all chapters of all studies of a user in PGN format. If authenticated, then all public, unlisted, and private studies are included. If not, only public (non-unlisted) studies are included.
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/study/by/{username}/export.pgn
- AuthOAuth 2Authorization code: https://lichess.org/oauthToken URL: https://lichess.org/api/token scopes: study:read
Path parameters
The user whose studies we export
Query parameters
Include clock comments in the PGN moves, when available. Example: 2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }
Include analysis and annotator comments in the PGN moves, when available. Example: 12. Bxf6 { [%eval 0.23] } a3 { White is in a pickle. }
Include non-mainline moves, when available. Example: 4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2
Add a Orientation PGN tag with the chapter predefined orientation. Example: [Orientation "white"]
Response
The studies of the user.
Changes
No recorded changes to this operation across all 16 revisions of this API.