GetLeaderboardInfo API
Description
Retrieve track and bike of a leaderboard.
Endpoint
GET https://api.trackdayr.com/v1/GetLeaderboardInfo
Query Params
Name | Type | Required | Description |
---|---|---|---|
key | string | ✓ | TrackDayR WebAPI authentication key. |
leaderboardid | int32 | ✓ | ID of the leaderboard |
bikename | bool | Specify if the bike is provided as name or category |
Response example
bikename=false
or param not provided
{
"track": "cremonatrack",
"bike_cat": 3
}
bikename=true
{
"track": "cremonatrack",
"bike_name": "ss300"
}