- Blind mode tutorial
lichess.org
Donate

Puzzle Activity For Other Users From the API

Is there a way to use the API to see all the puzzles a player has done? I'm a college professor interested in how people learn from chess puzzles and it'd be great to be able to see how many puzzles a player has done on lichess.

Is there a way to use the API to see all the puzzles a player has done? I'm a college professor interested in how people learn from chess puzzles and it'd be great to be able to see how many puzzles a player has done on lichess.

Hiya!

The Lichess API is documented at https://lichess.org/api
It has sections such as "Puzzles", "Users", "Accounts" and what not.
You could search if the information you want is available there (if don't find it there, then it isn't available)

I found one API endpoint ( lichess.org/api/user/bogginssloggins ) which answers your "to see how many puzzles a player has done on lichess"-question.

Screenshot of querying the endpoint with the command-line tool "curl" (and pipeing the result to "jq" for formatting of the JSON output):
https://i.imgur.com/H7C7Ukw.png

Chess on!

Hiya! The Lichess API is documented at https://lichess.org/api It has sections such as "Puzzles", "Users", "Accounts" and what not. You could search if the information you want is available there (if don't find it there, then it isn't available) I found one API endpoint ( lichess.org/api/user/bogginssloggins ) which answers your "to see how many puzzles a player has done on lichess"-question. Screenshot of querying the endpoint with the command-line tool "curl" (and pipeing the result to "jq" for formatting of the JSON output): https://i.imgur.com/H7C7Ukw.png Chess on!

This topic has been archived and can no longer be replied to.