Endpoints for Player Stats

Sort:
walidmujahid

I would like to suggest endpoints for accessing player statistics. Such as:

Ratings for the various game types -e.g, Daily, Rapid, Blitz-, and various stats for each game type. So, timeouts for daily games, perhaps Glicko RD, and the percentages of wins, losses, and draws based on colour. 

 

Also, would it be possible to get historical ratings in JSON? Maybe adding a "start_rating" and "end_rating" for white and black in games from the "Monthly Archives" endpoint?

 

Edit:

Though, thinking about, I guess that last part about adding a start and end rating really is not nessecary. Silly me. 

tacman1123

You can get some individual member stats in JSON with a url like this:

https://www.chess.com/callback/member/stats/tacman1123/true

 Some other stats of interest:

https://www.chess.com/callback/tactics/stats/tacman1123/chart?daysAgo=7 

 

 

walidmujahid

Nice @tacman1123 :-)

ZuluPawnZ

who won? 

I'm looking through the api, but see no data on who won the game. Please let me know where I can find that

walidmujahid
ZuluPawnZ wrote:

who won? 

I'm looking through the api, but see no data on who won the game. Please let me know where I can find that

Each player has a "result". You will find what you want under there. By the way, this is under the monthly archives endpoint. Check documentation for more info: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-tomove