I think a very similar issue was raised in relation to the team match board endpoint. Quite recently. I'll see if I can dig it up later.
Interactively using the website the delta from pre-game to post-game is shown (if it's your game) but the rating by each player's name is the post-game rating.
I always ask that api.chess.com match the website, and as api.chess.com is newer and I presume used by many less people generally expect api.chess.com to change to conform to the website, although maybe we'll see a change the other way around one day.
Conclusion: Here I would prefer the documentation and returned data to change.
In the "wishlist" department I'd like to get pre-game and post-game ratings via api.chess.com, but that's a bit fancy so only if it's easy please guys.
Hi,
I have noticed a couple of possible bugs/inconsistencies.
This relates to my archive : https://api.chess.com/pub/player/djcaf/games/2018/07
Item #15 which should be for the game https://www.chess.com/daily/game/192749730
My rating was apparently (according to the web site, i.e. not the API) 1354 when the game ended
If you download the PGN from the web site then the following ratings are returned:
White: 1053
Black: 1354
The PGN data in the returned JSON for this game gives:
White: 1071
Black: 1348
That is the first issue (inconsistency).
Also in the JSON there are two fields for this game:
White and Black. Under each is the rating; In this case;
White > Rating: 1053
Black > Rating: 1354
Those match the rating after the game has been completed. The documentation (https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-archive) suggests those should be the rating at the start of the game. I am no bothered which way that works, but it seems that this is also an inconsistency.
Thanks