Game Review - Different API Responses

Sort:
bogginssloggins

Hello,

I'm not sure why, but for two games that are very similar that have both been reviewed I get different data. For example, for the first game, I get a whole lot of great data about the game, who reviewed the game, what their CAPS scores were, etc. For the second game, all I get is that the game was reviewed (this is where it says "analysisLogExists: True". Does anyone know why?

  1. https://www.chess.com/callback/analysis/game/live/35927933391/all
  2. https://www.chess.com/callback/analysis/game/live/9726554423/all
Martin_Stahl

May be due to when they were reviewed? I've never looked at that endpoint but the data my not have been available before but is now?

jas0501

I visited the games, forcing an analysis at depth 26 and the calls now both return data, for me at least. It appears there was no analysis data for the second, or it was in an older format, until it was reanalyzed.

Note, I'm a Beta user, so it is possible my results will be different from a non-Beta user's.

dimpoul

Hi @Martin_Stahl, apologies if this is not the right place to ask this and it's a long shot but I thought I'd give it a try. I wrote the bot for twitch that uses a bunch of public chess.com APIs and also this one https://www.chess.com/callback/member/stats/dimpoul which is not public per se. Starting yesterday, my bot (skakibot) started returning 403 for all chess com public API requests and also the same 403 for all calls to this API https://www.chess.com/callback/member/stats/dimpoul. Could it be that chess.com doesn't allow calls to the above API and my bot's access got restricted? If that's the case can you remove the restriction and I will remove any calls to the above API?

Thanks - Dimpoul

 

Martin_Stahl
dimpoul wrote:

Hi @Martin_Stahl, apologies if this is not the right place to ask this and it's a long shot but I thought I'd give it a try. I wrote the bot for twitch that uses a bunch of public chess.com APIs and also this one https://www.chess.com/callback/member/stats/dimpoul which is not public per se. Starting yesterday, my bot (skakibot) started returning 403 for all chess com public API requests and also the same 403 for all calls to this API https://www.chess.com/callback/member/stats/dimpoul. Could it be that chess.com doesn't allow calls to the above API and my bot's access got restricted? If that's the case can you remove the restriction and I will remove any calls to the above API?

Thanks - Dimpoul

 

 

That's not part of the API. The stats API is https://www.chess.com/news/view/published-data-api#pubapi-endpoint-player-stats

 

bogginssloggins

I'm still trying to figure out why some games look like they have been reviewed using game review but aren't returning the full data related to game review. I think it might be because chess.com is reviewing the game (probably for cheating). For example, I tested this by making a new account, and playing three blitz games. After the second game, the second game looked like it had been reviewed (I didn't review it, although it's possible, but unlikely, that my opponent did). The game had CAPS scores when looking at it on my homepage, but when using the callback link below none of the data that typically comes (such as who reviewed the game) was returned. 

The link below points to a game that I believe was reviewed automatically by chess.com. Note that if you review this game then you will make it so that the game review data starts appearing for this callback. 

https://www.chess.com/callback/analysis/game/live/36369028555/all

The link below points to a game that was reviewed by my account which is not a beta member, and is not a diamond member. 

 

My question is - is it possible that chess.com is automatically conducting game review on games? Could that be why some of the times a game looks like it has been reviewed it doesn't give the full data related to game review in the callback?