API for larger user icons?

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 :slight_smile: )

Never mind, i figured it out: there is some size encoded in the icon url.
Sorry for the disruption :slight_smile:

3 Likes

I’m sure someone else might have the same question in future, so always good to know :slight_smile:

2 Likes

Out of curiosity - what are you working on? Is it a secret?

2 Likes

Doesn’t look secret at all! :slight_smile:

1 Like

Mr Detective! :male_detective:

But what is it (going to be) ? :smiley:

2 Likes

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"

Here is the picture:

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"

2 Likes

No, not a secret at all, I even announced it here a few days back:

4 Likes