Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Get player records
POST
https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/map
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Body parameters:
{maps}
object[]
The list of maps (needs to match query parameters)
*
{mapUid}
string
The UID of the map
*
{groupUid}
string
The ID of the group/season for a specific map
*
The request body contains an array of maps, each identified by its mapUid:
{
"maps": [
{
"mapUid": mapUid,
"groupUid": groupUid
}
]
}
Gets the currently authenticated user's records on multiple maps.
Remarks:
groupUid "Personal_Best" can be used to get the global leaderboard.[]) even when passed valid parameters. It is not known why but it seems to be inconsistent.Example request:
POST https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/map
{
"maps": [
{
"mapUid": "Kn63nCh9bkaRHcZZsrtf_KcLMH2",
"groupUid": "Personal_Best"
}
]
}
Example response:
[
{
"groupUid": "Personal_Best",
"mapUid": "Kn63nCh9bkaRHcZZsrtf_KcLMH2",
"score": 19976,
"zones": [
{
"zoneId": "301e1b69-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "World",
"ranking": {
"position": 7062,
"length": 0
}
},
{
"zoneId": "301e2274-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "North America",
"ranking": {
"position": 1548,
"length": 0
}
},
{
"zoneId": "3022ab53-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "United States",
"ranking": {
"position": 1208,
"length": 0
}
},
{
"zoneId": "3022b270-7e13-11e8-8060-e284abfd2bc4",
"zoneName": "Colorado",
"ranking": {
"position": 38,
"length": 0
}
}
]
}
]
If a mapUid is duplicated, the response will show duplicate results.
If a groupUid or mapUid is invalid, the response will omit that requested map.