Get User Object

get
Get user Object

https://api.discord.wf/v1/users/:id
This endpoint gives the public info of a user from Discord. A token is not required but it's recommended (not providing a token will uses the "public" tokens, so it can be ratelimited.) A user get cached for 12 hours, and get refreshed for the next request.
Request
Response
Request
Path Parameters
id
required
integer
ID of the requested user.
Query Parameters
token
optional
string
Uses your own Discord bot token if the user is not cached.
Response
200: OK
{
"id":"181482416748232705",
"username":"Zapto",
"avatar":"a_1fe4a3209e9bdd3e2c452a2d79200999",
"discriminator":"0001",
"public_flags":131712
}
404: Not Found
Could not find a cake matching this query.
Failed.