API Question

This URL:

https://online-go.com/api/v1/games/809700

Can I modify this URL to display matches against a specific user? Say me, for instance (584481) :thinking:

Not that one, that one is for displaying a specific game.

To find all games of a specific user you need:

https://online-go.com/api/v1/players/109488/games

To find the games of that user against other user you just need to filter that list with opponent’s id:

https://online-go.com/api/v1/players/109488/games/?alt_player=119361

Only game metadata though, no moves.

3 Likes

Excellent :star_struck:. This is exactly what I was looking for :heart:

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.