Skip to content

Difficalcy.Taiko v1

TaikoCalculator


GET /api/info

Response 200 OK

{
    "rulesetName": "string",
    "calculatorName": "string",
    "calculatorPackage": "string",
    "calculatorVersion": "string",
    "calculatorUrl": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "type": "object",
    "properties": {
        "rulesetName": {
            "type": "string",
            "nullable": true
        },
        "calculatorName": {
            "type": "string",
            "nullable": true
        },
        "calculatorPackage": {
            "type": "string",
            "nullable": true
        },
        "calculatorVersion": {
            "type": "string",
            "nullable": true
        },
        "calculatorUrl": {
            "type": "string",
            "nullable": true
        }
    },
    "additionalProperties": false
}

GET /api/calculation

Input parameters

Parameter In Type Default Nullable Description
BeatmapId query string No
Combo query integer No
Misses query integer No
Mods query integer No
Oks query integer No

Response 200 OK

{
    "difficulty": {
        "total": 10.12,
        "stamina": 10.12,
        "rhythm": 10.12,
        "colour": 10.12
    },
    "performance": {
        "total": 10.12,
        "difficulty": 10.12,
        "accuracy": 10.12
    },
    "accuracy": 10.12,
    "combo": 10.12
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "type": "object",
    "properties": {
        "difficulty": {
            "$ref": "#/components/schemas/TaikoDifficulty"
        },
        "performance": {
            "$ref": "#/components/schemas/TaikoPerformance"
        },
        "accuracy": {
            "type": "number",
            "format": "double"
        },
        "combo": {
            "type": "number",
            "format": "double"
        }
    },
    "additionalProperties": false
}

POST /api/batch/calculation

Request body

[
    {
        "beatmapId": "string",
        "mods": 164,
        "combo": 245,
        "misses": 201,
        "oks": 112
    }
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the request body
{
    "type": "array",
    "items": {
        "$ref": "#/components/schemas/TaikoScore"
    }
}

Response 200 OK

[
    {
        "difficulty": {
            "total": 10.12,
            "stamina": 10.12,
            "rhythm": 10.12,
            "colour": 10.12
        },
        "performance": {
            "total": 10.12,
            "difficulty": 10.12,
            "accuracy": 10.12
        },
        "accuracy": 10.12,
        "combo": 10.12
    }
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "type": "array",
    "items": {
        "$ref": "#/components/schemas/TaikoCalculation"
    }
}

Schemas

CalculatorInfo

Name Type
calculatorName string| null
calculatorPackage string| null
calculatorUrl string| null
calculatorVersion string| null
rulesetName string| null

TaikoCalculation

Name Type
accuracy number(double)
combo number(double)
difficulty TaikoDifficulty
performance TaikoPerformance

TaikoDifficulty

Name Type
colour number(double)
rhythm number(double)
stamina number(double)
total number(double)

TaikoPerformance

Name Type
accuracy number(double)
difficulty number(double)
total number(double)

TaikoScore

Name Type
beatmapId string
combo integer(int32)| null
misses integer(int32)
mods integer(int32)
oks integer(int32)

Generated from difficalcy-taiko OpenAPI schema