Chess Puzzles

FREEMIUM
(Ким) Yess Chess | Оновлено il y a 2 mois | Gaming
Популярність

8.9 / 10

Затримки

3,402ms

Рівень обслуговування

98%

Health Check

N/A

Повернутися до всіх обговорень

where do I use the id?

Rapid account: Marklavercombe
marklavercombe
il y a 4 mois

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 il y a 2 mois

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

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення