Skip to content

Spl3 API: Misc - Get number of s3s users and battles

AIZAWA Hina edited this page Nov 18, 2022 · 1 revision

This API returns a list of s3s users and battles statistics.
This API returns information for up to the latest 30 days.

Request

Endpoint URL: https://stat.ink/api/v3/s3s/usage
Request Method: GET
Authorization: No

Parameters (Query String)

None

Response

Status: HTTP 200 OK
Content-Type: application/json
Note:

  • Date format is ISO 8601 extended format. i.e, YYYY-MM-DD
  • The time zone used for sorting is UTC.
  • The total number of users of each version may not equal the number of users on that day.
    Users may use multiple versions at the same time. In that case, the user would be counted in both versions.
[
    {
        "date": "YYYY-MM-DD",
        "versions": {
            "v0.1.0": {
                "users": 10,
                "battles": 100
            }
        }
    },
    {
        "date": "YYYY-MM-DD",
        "versions": {
            "v0.1.0": {
                "users": 15,
                "battles": 150
            },
            "v1.0.0": {
                "users": 100,
                "battles": 1000
            }
        }
    }
]