[Suggestion] public API data for premium level and avatar

Sort:
Eyal282

Both are gimmicks for my discord bot. Right now it only says if you are premium, not gold, platinum or diamond.

Avatar URL is also a useful gimmick. I understand OAuth supplies it but I don't want to authenticate the user, and some bots have commands to fetch other people's data. Again I really need the premium level above all.

 

Edit: Also I really want Biography to be exposed, aka "About Me"

dimpoul

The premium status "status":"premium" is already there, just take a look at https://api.chess.com/pub/player/dimpoul

I agree it would be super nice to be able to get the premium's member avatar (even as a plain text just to see what their flare is).

Eyal282
dimpoul wrote:

The premium status "status":"premium" is already there, just take a look at https://api.chess.com/pub/player/dimpoul

I agree it would be super nice to be able to get the premium's member avatar (even as a plain text just to see what their flare is).

Both title and content emphasise this to pass the message along.

Eyal282

Still want an answer.

 

I also want the API to show a user's biography, aka "About Me"

 

AdamRaichu
Eyal282 wrote:

Still want an answer.

 

I also want the API to show a user's biography, aka "About Me"

 

A problem with that is about me can contain images, links, videos, formatted text, tables, and different font.

Eyal282
AdamRaichu wrote:
Eyal282 wrote:

Still want an answer.

 

I also want the API to show a user's biography, aka "About Me"

 

A problem with that is about me can contain images, links, videos, formatted text, tables, and different font.

 

Raw data is acceptable by most self respecting applications.

andreamorandini

@Eyal282 Thanks for your interest in using Public API.

We will add flair url to endpoint response in the near future. But I'm sorry we don't have any plan to add user bio at this moment, because we want our Public API to respond with "easily to parse" responses.

Eyal282
andreamorandini wrote:

@Eyal282 Thanks for your interest in using Public API.

We will add flair url to endpoint response in the near future. But I'm sorry we don't have any plan to add user bio at this moment, because we want our Public API to respond with "easily to parse" responses.

I am confused. The developer does not have to parse every piece of data, just what he uses, no?

dimpoul

@andreamorandini On the same note, is it possible to add the information whether a chess.com streamer is actively streaming at the moment? It could be just a boolean "is_streaming" in the player API. That would give me (and others potentially) the capability to know all streamers that are streaming on chess.com at any moment of time. Note that this capability is available on other chess online platform. Thank you in advance. Dim

dimpoul

Also, on the same note, great job on displaying whether someone is a streamer and also their twitch Url in the profile API!