speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

[Request] Have a GET to /api/v1/users/{id} return all profile fields (e.g. Discord Username, Battle.net username, etc) #100

Open d3v0nu11 opened 4 years ago

d3v0nu11 commented 4 years ago

Greetings, I would like to request that the API call to users returns all the values within the "links" key.

Using my profile for an example:

GET https://www.speedrun.com/api/v1/users?name=DevolitionDerby

Returns

{"data": ~~snip~~ "twitch":"...","twitter":"...", etc, however fields other than those are not present such as Discord, Battle.net, and others that don't include direct links.

Gaztin commented 3 years ago

+1

This would be extremely useful for creating a bot to assign roles in the corresponding Discord server. Could just list runs, fetch the users and use their listed Discord profile in the Discord API directly.