GET /api/player/:id
Player records

Examples

GET /api/player/76561198421677451?mode=0
200
{
  "name": "KawaiiNeko-x",
  "id": 76561198421677451,
  "average": 59.0,
  "medals": [
    0,
    0,
    0
  ],
  "records": [
    {
      "id": 528705,
      "map": "kool_mini2",
      "mode": 0,
      "time": 18704,
      "checkpoints": [
        7584,
        12512,
        14952
      ],
      "speed_start": 849.0,
      "speed_end": 1945.0,
      "speed_top": 1981.0,
      "speed_average": 1469.0,
      "date": "2023-03-21T20:47:28.291Z",
      "rank": 59,
      "total_records": 75
    }
  ]
}

Params

Param name Description
id
required

SteamID64

Validations:

  • Must be a Integer

mode
optional

Default is 0, overrides weapons and physics params.

0: PQL Weapons, 1: PQL Strafe, 2: VQL Weapons, 3: VQL Strafe

Validations:

  • Must be one of: 0, 1, 2, 3.

weapons
optional

Default is true

Validations:

  • Must be one of: true, false.

physics
optional

Default is turbo, turbo is same as pql, classic is same as vql

Validations:

  • Must be one of: pql, turbo, vql, classic.


GET /api/map/:map
Map records

Examples

GET /api/map/kool_mini2?mode=1&limit=1
200
{
  "total_records": 121,
  "records": [
    {
      "rank": 1,
      "id": 385329,
      "mode": 1,
      "player_id": 76561198321167723,
      "name": "t0phunter",
      "time": 18360,
      "checkpoints": [
        7272,
        11896,
        14600
      ],
      "speed_start": 547.0,
      "speed_end": 1837.0,
      "speed_top": 1837.0,
      "speed_average": 1341.0,
      "date": "2020-08-02T15:31:22.409Z"
    }
  ]
}

Params

Param name Description
map
required

Map name

Validations:

  • Must be a String

mode
optional

Default is 0, overrides weapons and physics params.

0: PQL Weapons, 1: PQL Strafe, 2: VQL Weapons, 3: VQL Strafe

Validations:

  • Must be one of: 0, 1, 2, 3.

weapons
optional

Default is true

Validations:

  • Must be one of: true, false.

physics
optional

Default is turbo, turbo is same as pql, classic is same as vql

Validations:

  • Must be one of: pql, turbo, vql, classic.

limit
optional

Number of records which will be returned

Validations:

  • Must be a Integer


GET /api/record/:id
Record

Params

Param name Description
id
required

Record Id

Validations:

  • Must be a Integer