User best time
Description
Use this endpoint to retrieve the user's best submitted time.
Endpoint
GET https://api.gamerank.io/timeboard/{userid}/best
Request URL Parameters
Parameter | Description |
---|---|
userid | User unique identifier. Alpha-numerical ASCII characters only. |
Example
GET https://api.gamerank.io/timeboard/3829/best
Response JSON body
Field | Type | Description |
---|---|---|
userid | string | User id used to store this time |
username | string | Displayable user name |
creation_time | millisecond timestamp | UTC timestamp in millisecond when this time score has been done |
entry | int | Best submitted time for this user (in millisecond) |
{
"userid": "3829",
"username": "Bob",
"creation_time": 1728823959953,
"entry": 3937
}
HTTP status code
HTTP status | Reason(s) |
---|---|
200 | • OK |
400 | • Invalid user ID format |
404 | • Unknown API key / timeboard • Unknown user |
500 | • Server Error, please contact support@gamerank.io |