Pegar informações de um usuário
GET /v1/users/{userId}
Parâmetros de Requisição
Path
userId
: LongID do Usuário
Exemplo:
123170274651668480
Exemplos
Requisição
wumpus@loritta:~# curl "https://api.loritta.website/v1/users/123170274651668480" --header "Authorization: lorixp_xxx" -i
HTTP 200 (OK)
Loritta-Cluster: Loritta Cluster 1 (Catalyst)
Loritta-Token-Creator: 123170274651668480
Loritta-Token-User: 123170274651668480
Content-Type: application/json
{
"id": "123170274651668480",
"xp": 6283483,
"sonhos": 19613336,
"aboutMe": "\"She said \"rawr x3\", so it's true love at first sight\" - Aniversário <t:1693234368:R> <:lori_zap:956404868417990776><:ehmole:589518158952398879> <:lori_bonk:956402010712834078>",
"gender": "MALE",
"emojiFightEmoji": "<:lori_sip:1167125644296069160>"
}
Testar Endpoint
Requisição
wumpus@loritta:~# lorifetch
~ Loritta Morenitta ~
─────────────────────
Build: #2655 (eda6484)
Java Version: 21.0.5
Kotlin Version: 2.0.20
JDA Version: 5.1.1_4235406
Guilds: 3_366_823
Executed Commands (24h): 301_623
Unique Users (24h): 51_920
Uptime: 7 years, 8 months, 11 days