Query parameters:
-
{length}
(integer) The number of competitions to retrieveDefault:0
-
{offset}
(integer) The number of competitions to skipDefault:0
Service provided by Openplanet
Get club competitions
Audience: NadeoClubServices
GET
https://competition.trackmania.nadeo.club/api/me/club-competitions?length={length}&offset={offset}
Query parameters:
{length}
(integer)
The number of competitions to retrieve
0
{offset}
(integer)
The number of competitions to skip
0
Gets a list of competitions in clubs the current user is a member of.
Remarks:
Example request:
GET https://competition.trackmania.nadeo.club/api/me/club-competitions?length=1&offset=3
Example response:
{
"clubCompetitions": [
{
"activityId": 139313,
"clubId": 548,
"maxPlayers": 64,
"type": "DEFAULT",
"name": "RTG Cup",
"logoUrl": "https://trackmania-prod-club-public.s3.eu-west-1.amazonaws.com/competitions/club/139313/logo/qx1flzj0darurljayib2.png",
"verticalUrl": "https://trackmania-prod-club-public.s3.eu-west-1.amazonaws.com/competitions/club/139313/vertical/hokmohihqlhkzoeqtfnr.png"
}
],
"clubCompetitionsCount": 4
}
If no relevant club competitions exist, the response will contain an empty array:
{
"clubCompetitions": [],
"clubCompetitionsCount": 0
}