I don't believe you can. You have to use https://api.chess.com/pub/player/erik/stats
And then programmatically parse the result for the rapid rating.
I don't believe you can. You have to use https://api.chess.com/pub/player/erik/stats
And then programmatically parse the result for the rapid rating.
Okay thank you. I am trying to get Nightbot to respond to !rapid with my elo rating. It uses the next.js API route so I now need to learn how to use that.
Dont know if this will help, but at one point i ran a club ladder using Google sheets to read the API to get peoples Daily rating
https://docs.google.com/spreadsheets/d/1i6GsCmYjX0MD1GO3MfJhS2MoNS5bkt09rAPROhDKsTY/edit#gid=0
It used a ImportJSON function I found to read in the data, then I told it to look at /chess_daily/last/rating to get the figure. You are welcome to look at the sheet above to see if it helps.,
That is certainly interesting I probably could use that in the future!
Thankfully someone at NightDev solved it for me: https://community.nightdev.com/t/parse-api-result/29141/2 in case anyone else would like to do the same thing as me
I would like a URL which I can type into my browser and the output is my Rapid Rating.
I know its super simple but I keep getting {"code":0,"message":"An internal error has occurred.}
My URL so far is https://api.chess.com/pub/player/erik/stats/chess_rapid.