Player Ratings in Match Endpoint?

Sort:
Avatar of stephen_33

Since the direction of travel in the development of the chess,com API is to more closely align web page content with its endpoint equivalent, could the "rating" field per player be included in team matches in_progress & finished please?

The information is given in matches in the registration stage but not after & I'm puzzled as to why that is. I'd like to use a club's archive of current & historical matches to gage their playing strength but at present I'd have to make separate endpoint requests per player to sweep up all the ratings data.

The rating information is displayed in the web page, dynamically I believe, so is it possible to also give current ratings data in the endpoint of an historical match?

Avatar of andreamorandini

The idea behind our deliberate choice of not providing the player's rating in finished matches is because we don't store such historical data, so providing current rating of an historical match sounded misleading.

 

I will check why we are not showing it in "in_progress", though.

Avatar of stephen_33

I think we might be at cross-purposes? It's the current rating of each player in finished (i.e. historical) matches that I'd like to scrape from the match endpoint. Sorry but I thought I'd explained that above?

In other words, provide the same ratings information in the endpoint for  "in_progress" & "finished" matches as appears on the equivalent web-page. Is that practical?

'we don't store such historical data' - does this mean that the endpoint can only be assembled from the match data available when it finished & became frozen?