lichess-org / lichess-org/api

Add "evals" parameter for imported games

Open
#542 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
597
Forks
176
Avg merge
1d 4h
Merged PRs (30d)
6

Description

The `export/bookmarks` api defines the `evals` parameter to download the engine annotated PGN.

However, the `export/imports` api doesn't define this parameter.

Often I play games on chess.com, import them to lichess, and run engine analysis on them. I would like to download these engine analyses so I can train the blunders locally. The workaround is to get the list of imported games, and query `games/export/_ids` with `evals=true`.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documented `export/bookmarks` and `export/imports` API endpoints, comparing how the `evals` parameter is defined. Update the imported-games endpoint so it documents and supports downloading engine-annotated PGN, then verify that this removes the need to query `games/export/_ids` with `evals=true`.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.