GET leaderboards/dailies

Gets a list of Crypt of the NecroDancer daily leaderboards.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Offset

integer

Min value is 0

Default value is 0

Max value is 2147483647

Limit

integer

Min value is 1

Default value is 20

Max value is 100

products

Valid values are 'classic' and 'amplified'. If not provided, returns daily leaderboards from all products.

Object []

Required

date

The date of the daily leaderboard. If not provided, returns daily leaderboards from all dates. The date format is yyyy-MM-dd (e.g. 2017-10-04).

date

production

If true, returns production leaderboards. If false, returns Early Access leaderboards. If not provided, returns both production and Early Access leaderboards.

boolean

Response Information

Resource Description

Returns a list of Crypt of the NecroDancer daily leaderboards.

DailyLeaderboardsEnvelope
NameDescriptionTypeAdditional information
total

Total number of daily leaderboards.

integer

leaderboards

A collection of daily leaderboards.

DailyLeaderboard[]

Response Status Codes

400 Bad Request if a product is invalid.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "leaderboards": [
    {
      "id": 1,
      "updated_at": "2020-07-12T10:31:36.0090754Z",
      "name": "sample string 2",
      "display_name": "sample string 3",
      "production": true,
      "product": "sample string 5",
      "_product": {
        "id": 1,
        "name": "sample string 2",
        "display_name": "sample string 3"
      },
      "date": "2020-07-12T10:31:36.0090754Z",
      "total": 7
    },
    {
      "id": 1,
      "updated_at": "2020-07-12T10:31:36.0090754Z",
      "name": "sample string 2",
      "display_name": "sample string 3",
      "production": true,
      "product": "sample string 5",
      "_product": {
        "id": 1,
        "name": "sample string 2",
        "display_name": "sample string 3"
      },
      "date": "2020-07-12T10:31:36.0090754Z",
      "total": 7
    }
  ]
}