Get Ratings at the time of a given game

Hi all,

I’d like to use the API to get the rating numbers of the opponents in a given game, at the time that the game took place. The API documentation here seems hopelessly outdated. I cannot even get the JSON data for any game. :sweat_smile: Actually it would be good if I could get ~100 random samples.

Help much appreciated! :wink:

or

for more info.

2 Likes

Where did you come across this documentation? At online-go.com/developer?

I’m wondering if we should replace it with the docs @shinuito shared if they are more up-to-date.

I was just going through all the threads in API Development because I remembered that the docs exist and someone at some point linked them. Now there seems to be a wild API sprawl!

Anyway, https://online-go.com/api/v1/games/id seems to work now; I think the only problem in my earlier attempt was using http. It spews back a nice JSON salad with a field historical_ratings in it; this is the one for me. :slight_smile: Thank you very much for the pointers @shinuito !

3 Likes

We point at apiary from Community->About

To be clear, these are the ratings after the game is finished and ratings get adjusted, right?

As far as I can tell, these are the ratings before the game finishes.
I don’t know if they are from the time of the start of the game. Actually I assume that they are the ratings just before the update at the end.

1 Like