Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: extended puzzle API #16694

Closed
Siderite opened this issue Dec 29, 2024 · 1 comment
Closed

API: extended puzzle API #16694

Siderite opened this issue Dec 29, 2024 · 1 comment

Comments

@Siderite
Copy link

Right now, in order to get a puzzle, you need to provide an angle and a difficulty (see https://lichess.org/api#tag/Puzzles/operation/apiPuzzleNext ), where the angle is a single theme, motif or opening name and the difficulty is one of "easiest", "easier", "normal", "harder", "hardest".

I would like to be able to provide a list of comma separated theme names, as well as a proper rating filter (minimum and maximum value). This will allow users to customize their puzzle mix.

Thanks!

@ornicar
Copy link
Collaborator

ornicar commented Dec 30, 2024

Multiple theme selection won't work, due to the way puzzle paths are precomputed to reduce the load of selecting a puzzle.

@ornicar ornicar closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants