| export_games | R Documentation |
Downloads games from /api/games/user/{username} and requests NDJSON.
Returns a tibble of commonly-used analysis fields, plus a raw list-column
containing each full game object as returned by the API.
export_games(
cl,
username,
max = 100,
since = NULL,
until = NULL,
perfType = NULL,
rated = NULL,
opening = TRUE
)
cl |
A |
username |
Lichess username. |
max |
Maximum number of games to request (default 100). |
since |
Optional epoch milliseconds (inclusive). |
until |
Optional epoch milliseconds (exclusive). |
perfType |
Optional perf filter (e.g., "blitz", "rapid"). |
rated |
Optional logical filter. |
opening |
If TRUE, ask Lichess to include opening info when available. |
A tibble with selected metadata columns and a raw list-column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.