Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Get map leaderboards for club members
GET
https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/{groupUid}/map/{mapUid}/club/{clubId}/top?length={length}&offset={offset}
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Path parameters:
{groupUid}
(string)
The ID of the group/season
*
{mapUid}
(string)
The UID of the map
*
{clubId}
(string)
The ID of the club
*
Query parameters:
{length}
(integer)
The number of records to retrieve
100
Default:
5
{offset}
(integer)
The number of records to skip
0
Gets records from a map's leaderboard for members of a club.
Remarks:
groupUid "Personal_Best" can be used to get the global leaderboard.length higher than 100 is requested, the API will successfully return only the first 100 records.score values for some entries. Instead, those leaderboard entries will contain -1 in the score field.Example request:
GET https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/Personal_Best/map/k4TKkf1JSlWTEEZdCc9UCNTokk6/club/9/top?offset=0&length=100
Example response:
{
"groupUid": "Personal_Best",
"mapUid": "k4TKkf1JSlWTEEZdCc9UCNTokk6",
"clubId": 9,
"length": 310,
"top": [
{
"accountId": "febdee2f-744e-4a56-9126-ca3b1b034ea0",
"zoneId": "3022ed9f-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "Texas",
"position": 1,
"score": 26464
},
...
{
"accountId": "23bc4ff4-01e9-42ab-b685-8d06ca139855",
"zoneId": "30226ac4-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "Catalunya",
"position": 100,
"score": 27795
}
]
}
If the groupUid is invalid, the response will be an empty object:
{}
If the map does not exist, the response will show an empty leaderboard:
{
"groupUid": "Personal_Best",
"mapUid": "k4TKkf1JSlWTEEZdCc9UCNTokk6_fake",
"clubId": 9,
"length": 0,
"top": []
}