Hello, after looking at the API docs I’m still confused about getting the details for a game I played. I presume that this is public info which requires not authentication? My code below returned a 301 Moved Permanently response:
import httpx response = httpx.get('http://online-go.com/v1/games/id/') print(response)
Changing to an actual game ID did not help:
import httpx response = httpx.get('http://online-go.com/v1/games/41135422/') print(response)
I think you miss an “api” before “v1”. Check this: https://online-go.com/api/v1/games/41135422
api
v1
https
I think it’s just outdated. It might give some hints as to what the current endpoints might be, but I don’t think it’s reliable.
Lys gave an example of one that works.