Calculate chart rating
calculate_ratingThe rating a maimai DX chart gives for an achievement, the achievement a rating needs, and the rating of each rank (S to SSS+). Give a chart (looked up with its current internal level) or an internal level. Achievements are integers in 1/10000 of a percent: 100.7543% is 1007543.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| song | No | The chart: a sheet ID (dsht_…), or a song ID or name with type and difficulty. Or give internal_level. | |
| type | No | Type of the chart of song: dx or std | |
| combo | No | Combo lamp: fc, fcp (FC+), ap or app (AP+). AP and AP+ add 1 to the rating. | |
| server | No | Game server (jp, intl, usa, cn), whose internal level is used where it differs. Default jp. | |
| difficulty | No | Difficulty of the chart of song: basic … remaster | |
| achievement | No | Achievement in 1/10000 of a percent, an integer: 100.7543% is 1007543, 99.5% is 995000 | |
| target_rating | No | A rating of the chart to reach: the lowest achievement that gives it | |
| internal_level | No | Internal level (譜面定数) instead of a chart: 13.7 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart | Yes | The chart, when one was given | |
| result | Yes | The rating of achievement, when one was given | |
| server | Yes | ||
| source | Yes | ||
| target | Yes | ||
| dataAsOf | Yes | When the catalog was last updated | |
| thresholds | Yes | The rating at the lowest achievement of each rank from S to SSS+ | |
| internalLevel | Yes |