Game Season API
1.0

This is the documentation for version 1.0 of the API. Last update on Feb 26, 2023.

Base URL
https://game-season-api.kasu.dev

Get Current Season

GET /apex/current

Responses

GET /apex/current
curl \
 -X GET https://game-season-api.kasu.dev/apex/current
Response example (200)
{
  "season": {
    "number": 15,
    "name": "Eclipse",
    "start": "2021-03-09T00:00:00Z",
    "end": "2021-06-08T00:00:00Z",
    "split": "2021-06-08T00:00:00Z"
  },
  "progress": {
    "split": 2,
    "splitProgress": "30.4",
    "seasonProgress": "73.2"
  }
}
Response example (410)
{
  "message": "Not found current season"
}

Get Season History

GET /apex/history

Responses

GET /apex/history
curl \
 -X GET https://game-season-api.kasu.dev/apex/history
Response example (200)
{
  "history": [
    {
      "number": 15,
      "name": "Eclipse",
      "start": "2021-03-09T00:00:00Z",
      "end": "2021-06-08T00:00:00Z",
      "split": "2021-06-08T00:00:00Z"
    }
  ]
}

Get Season

GET /apex/{season}

Path parameters

Responses

GET /apex/{season}
curl \
 -X GET https://game-season-api.kasu.dev/apex/{season}
Response example (200)
{
  "season": {
    "number": 15,
    "name": "Eclipse",
    "start": "2021-03-09T00:00:00Z",
    "end": "2021-06-08T00:00:00Z",
    "split": "2021-06-08T00:00:00Z"
  }
}
Response example (404)
{
  "message": "Not found season"
}

Get Current Season

GET /valorant/current

Responses

GET /valorant/current
curl \
 -X GET https://game-season-api.kasu.dev/valorant/current
Response example (200)
{
  "season": {
    "number": 15,
    "name": "Eclipse",
    "start": "2021-03-09T00:00:00Z",
    "end": "2021-06-08T00:00:00Z",
    "acts": [
      {
        "number": 15,
        "start": "2021-03-09T00:00:00Z",
        "end": "2021-06-08T00:00:00Z"
      }
    ]
  },
  "progress": {
    "act": 2,
    "seasonProgress": "70",
    "actProgress": "89.3"
  }
}
Response example (410)
{
  "message": "Not found current season"
}

Get Season History

GET /valorant/history

Responses

GET /valorant/history
curl \
 -X GET https://game-season-api.kasu.dev/valorant/history
Response example (200)
{
  "history": [
    {
      "number": 15,
      "name": "Eclipse",
      "start": "2021-03-09T00:00:00Z",
      "end": "2021-06-08T00:00:00Z",
      "acts": [
        {
          "number": 15,
          "start": "2021-03-09T00:00:00Z",
          "end": "2021-06-08T00:00:00Z"
        }
      ]
    }
  ]
}

Get Season

GET /valorant/{season}

Path parameters

Responses

GET /valorant/{season}
curl \
 -X GET https://game-season-api.kasu.dev/valorant/{season}
Response example (200)
{
  "season": {
    "number": 15,
    "name": "Eclipse",
    "start": "2021-03-09T00:00:00Z",
    "end": "2021-06-08T00:00:00Z",
    "acts": [
      {
        "number": 15,
        "start": "2021-03-09T00:00:00Z",
        "end": "2021-06-08T00:00:00Z"
      }
    ]
  }
}
Response example (404)
{
  "message": "Not found season"
}