Chess Puzzles

FREEMIUM
By Yess Chess | Updated 1ヶ月前 | Gaming
Popularity

8.6 / 10

Latency

2,325ms

Service Level

99%

Health Check

N/A

Back to All 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 1ヶ月前

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

Join in the discussion - add comment below:

Login / Signup to post new comments