Undocumented change in stats [Resolved]

Sort:
Tricky_Dicky

Data missing from end point

Data no longer showing for Live Statistics as below in red

End point:

https://api.chess.com/pub/player/{username}/stats

Data Format, each Game-Type:

{
  "last": { // the current stats
    "date": 1509709165, // timestamp of the last rated game finished
    "rating": 1642, // most-recent rating
    "rd": 58 // the Glicko "RD" value used to calculate ratings changes
  },
  "best": { // the best rating achieved by a win
    "date": 1256228875, // timestamp of the best-win game
    "rating": 2065, // highest rating achieved
    "game": "URL" // URL of the best-win game
  },
  "record": { // summary of all games played
    "win": 177,  // number of games won
    "loss": 124, // number of games lost
    "draw": 21,  // number of games drawn
    "time_per_move": 18799, // integer number of seconds per average move
    "timeout_percent": 9.99 // timeout percentage in the last 90 days
  },
  "tournament": { // summary of tournaments participated in
    "count": 20,   // number of tournaments joined
    "withdraw": 1, // number of tournaments withdrawn from
    "points": 39,  // total number of points earned in tournaments
    "highest_finish": 1 // best tournament place
  }
}
Tricky_Dicky

Nice to get an acknowledgment. Staff seem to have abandoned the API forums.

So is probably a Web page issue that is being translated to the API.

Thanks

bcurtis

I believe we got this one fixed. Please verify?

Sorry we've been absent — the surge in chess interest while the world stays home has changed our priorities a lot. We do try to keep up, but we're low on time at the moment.

Thanks for the bug report. It's appreciated. For anything urgent because it breaks tools you have built, please continue to post here in the forum, but also use the "Report a Bug" feature in the "Help" menu. If you report the bug from the forum page you describe the bug on, then it will help us notice and prioritize accordingly. To help us route things well, when you enter your short description of the bug in the "Report a Bug" form, start it with the term "PUBAPI: Your short description here."

Tricky_Dicky

Not for me.

Returns "best" for daily but not for live stats.

Tricky_Dicky

https://api.chess.com/pub/player/tricky_dicky/stats

Also just tried https://api.chess.com/pub/player/erik/stats

and got {"status":"error","message":"Internal Server Error"}

https://api.chess.com/pub/player/erik still valid return

Tricky_Dicky

Looks as though the web page fix is now propagated through to the API.

Stats look to be restored to spec.

And Erik has been restored.

Thanks