Chess Puzzles

免费增值
通过 Yess Chess | 已更新 2 महीने पहले | Gaming
人气

8.9 / 10

延迟

3,129ms

服务等级

98%

Health Check

N/A

返回所有讨论

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论