Chess Puzzles

FREEMIUM
Par Yess Chess | Mise à jour 2 месяца назад | Gaming
Popularité

8.9 / 10

Latence

3,402ms

Niveau de service

98%

Health Check

N/A

Retour à toutes les discussions

where do I use the id?

Rapid account: Marklavercombe
marklavercombe
4 месяца назад

I want to use your API, and have signed up for a plan. I can see the test output. How do I use the puzzle id? What url needs to prefix it?

If I want to embed a puzzle in a website, what url do I need to use?

Thanks in advance!

Rapid account: Sirsinnoh 1
sirsinnoh1 Commented 2 месяца назад

Hi Mark,
Sorry for the late reply!

Each puzzle has a unique id assigned to it. If you want to know how to request a puzzle by id, I suggest you look at the sample code snippet for the language you are programming in, which can be found right on the API page.
Within the sample code snippet you will find the sample request URL, which looks something like this
https://chess-puzzles2.p.rapidapi.com/id/002VP

In this case 002VP (after the ‘/’) is the puzzle id. Simply replace 002VP with the id of the puzzle you want to request.

Feel free to contact us again if you have any further questions.
Good luck with your project!
Lars from YessChess

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires