Update player/query
parent
de137c7ae2
commit
85d9e2fb98
@ -9,10 +9,11 @@ Retrieve information from Mojang regarding a player by looking up their username
|
||||
| query | string | `Username or UUID` |
|
||||
|
||||
## Error Codes
|
||||
| Code | Description |
|
||||
|---------------------|:--------------------------------------:|
|
||||
| `400 (BAD_REQUEST)` | The given UUID or username is invalid |
|
||||
| `404 (NOT_FOUND)` | The requested player couldn't be found |
|
||||
| Code | Description |
|
||||
|---------------------------|:------------------------------------------:|
|
||||
| `400 (BAD_REQUEST)` | The given UUID or username is invalid |
|
||||
| `404 (NOT_FOUND)` | The requested player couldn't be found |
|
||||
| `429 (TOO_MANY_REQUESTS)` | The Mojang API rate limit has been reached |
|
||||
|
||||
## Cache
|
||||
Results are cached for up to `1 hour`
|
||||
|
Loading…
Reference in New Issue
Block a user