Difficalcy.PerformancePlus v1
OsuCalculator
GET /api/info
Response 200 OK
{
"rulesetName": "string",
"calculatorName": "string",
"calculatorPackage": "string",
"calculatorVersion": "string",
"calculatorUrl": "string"
}
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/beatmapdetails
Input parameters
Parameter | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
beatmapId |
query | string | No |
Response 200 OK
{
"artist": "string",
"title": "string",
"difficultyName": "string",
"author": "string",
"maxCombo": 56,
"length": 10.12,
"minBPM": 74,
"maxBPM": 48,
"commonBPM": 297,
"baseVelocity": 10.12,
"tickRate": 10.12,
"circleCount": 165,
"sliderCount": 96,
"spinnerCount": 210,
"sliderTickCount": 224,
"circleSize": 10.12,
"approachRate": 10.12,
"accuracy": 10.12,
"drainRate": 10.12
}
Schema of the response body
{
"type": "object",
"properties": {
"artist": {
"type": "string",
"nullable": true
},
"title": {
"type": "string",
"nullable": true
},
"difficultyName": {
"type": "string",
"nullable": true
},
"author": {
"type": "string",
"nullable": true
},
"maxCombo": {
"type": "integer",
"format": "int32"
},
"length": {
"type": "number",
"format": "double"
},
"minBPM": {
"type": "integer",
"format": "int32"
},
"maxBPM": {
"type": "integer",
"format": "int32"
},
"commonBPM": {
"type": "integer",
"format": "int32"
},
"baseVelocity": {
"type": "number",
"format": "double"
},
"tickRate": {
"type": "number",
"format": "double"
},
"circleCount": {
"type": "integer",
"format": "int32"
},
"sliderCount": {
"type": "integer",
"format": "int32"
},
"spinnerCount": {
"type": "integer",
"format": "int32"
},
"sliderTickCount": {
"type": "integer",
"format": "int32"
},
"circleSize": {
"type": "number",
"format": "double"
},
"approachRate": {
"type": "number",
"format": "double"
},
"accuracy": {
"type": "number",
"format": "double"
},
"drainRate": {
"type": "number",
"format": "double"
}
},
"additionalProperties": false
}
GET /api/calculation
Input parameters
Parameter | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
BeatmapId |
query | string | No | ||
Combo |
query | integer | No | ||
Mehs |
query | integer | No | ||
Misses |
query | integer | No | ||
Mods |
query | array | No | ||
Oks |
query | integer | No |
Response 200 OK
{
"difficulty": {
"total": 10.12,
"aim": 10.12,
"jumpAim": 10.12,
"flowAim": 10.12,
"precision": 10.12,
"speed": 10.12,
"stamina": 10.12,
"accuracy": 10.12
},
"performance": {
"total": 10.12,
"aim": 10.12,
"jumpAim": 10.12,
"flowAim": 10.12,
"precision": 10.12,
"speed": 10.12,
"stamina": 10.12,
"accuracy": 10.12
},
"accuracy": 10.12,
"combo": 10.12
}
Schema of the response body
{
"type": "object",
"properties": {
"difficulty": {
"$ref": "#/components/schemas/OsuDifficulty"
},
"performance": {
"$ref": "#/components/schemas/OsuPerformance"
},
"accuracy": {
"type": "number",
"format": "double"
},
"combo": {
"type": "number",
"format": "double"
}
},
"additionalProperties": false
}
POST /api/batch/calculation
Request body
Response 200 OK
[
{
"difficulty": {
"total": 10.12,
"aim": 10.12,
"jumpAim": 10.12,
"flowAim": 10.12,
"precision": 10.12,
"speed": 10.12,
"stamina": 10.12,
"accuracy": 10.12
},
"performance": {
"total": 10.12,
"aim": 10.12,
"jumpAim": 10.12,
"flowAim": 10.12,
"precision": 10.12,
"speed": 10.12,
"stamina": 10.12,
"accuracy": 10.12
},
"accuracy": 10.12,
"combo": 10.12
}
]
Schemas
CalculatorInfo
Name | Type |
---|---|
calculatorName |
string| null |
calculatorPackage |
string| null |
calculatorUrl |
string| null |
calculatorVersion |
string| null |
rulesetName |
string| null |
Mod
Name | Type |
---|---|
acronym |
string |
settings |
OsuBeatmapDetails
Name | Type |
---|---|
accuracy |
number(double) |
approachRate |
number(double) |
artist |
string| null |
author |
string| null |
baseVelocity |
number(double) |
circleCount |
integer(int32) |
circleSize |
number(double) |
commonBPM |
integer(int32) |
difficultyName |
string| null |
drainRate |
number(double) |
length |
number(double) |
maxBPM |
integer(int32) |
maxCombo |
integer(int32) |
minBPM |
integer(int32) |
sliderCount |
integer(int32) |
sliderTickCount |
integer(int32) |
spinnerCount |
integer(int32) |
tickRate |
number(double) |
title |
string| null |
OsuCalculation
Name | Type |
---|---|
accuracy |
number(double) |
combo |
number(double) |
difficulty |
OsuDifficulty |
performance |
OsuPerformance |
OsuDifficulty
Name | Type |
---|---|
accuracy |
number(double) |
aim |
number(double) |
flowAim |
number(double) |
jumpAim |
number(double) |
precision |
number(double) |
speed |
number(double) |
stamina |
number(double) |
total |
number(double) |
OsuPerformance
Name | Type |
---|---|
accuracy |
number(double) |
aim |
number(double) |
flowAim |
number(double) |
jumpAim |
number(double) |
precision |
number(double) |
speed |
number(double) |
stamina |
number(double) |
total |
number(double) |
OsuScore
Name | Type |
---|---|
beatmapId |
string |
combo |
integer(int32)| null |
mehs |
integer(int32) |
misses |
integer(int32) |
mods |
Array<Mod> |
oks |
integer(int32) |
Generated from difficalcy-performanceplus OpenAPI schema