Hello,
does anyone know how to retrieve the larger user icons?
When i use the links that are provided in the game.players.white.icon
field, i seem to get only images with half the resolution of what is displayed on OGS (which is already quite low-res )
Never mind, i figured it out: there is some size encoded in the icon url.
Sorry for the disruption
I’m sure someone else might have the same question in future, so always good to know
Out of curiosity - what are you working on? Is it a secret?
Doesn’t look secret at all!
Mr Detective!
But what is it (going to be) ?
Here is my profile (JSON):
https://online-go.com/termination-api/player/308797
Inside the JSON there is this:
"icon-url":"https://b0c2ddc39d13e1c0ddad-93a52a5bc9e7cc06050c1a999beb3694.ssl.cf1.rackcdn.com/5ccab3d1d5a7f9e6ecef1437a840a10d-32.png"
Which values could be provided for bigger images?
I tried 64 and 128.
It’s the last part of the URL.
Some other player has a different syntax:
https://online-go.com/termination-api/player/55194
"icon-url":"https://secure.gravatar.com/avatar/0a5f5c14f089b1e0ab17448b12fa2244?s=32&d=retro"
No, not a secret at all, I even announced it here a few days back: