Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Reference of v4 song rating

TheSnowfield edited this page Apr 23, 2021 · 3 revisions
arguments description optional
start range of start NO
end range of end YES

Explain

Return all the song ids who matched the given rating range.

Return data

{
    "status": 0,
    "content": {
        "rating": [
            {
                "sid": "fractureray",
                "rating": 11.2,
                "rating_class": 2,
                "difficulty": 22
            },
            {
                "sid": "grievouslady",
                "rating": 11.3,
                "rating_class": 2,
                "difficulty": 22
            },
            {
                "sid": "tempestissimo",
                "rating": 11.5,
                "rating_class": 3,
                "difficulty": 22
            }
        ]
    }
}

Error status

status description
0 everything is OK
-1 invalid range start of the rating
-2 invalid range start of the rating
-3 invalid range end of the rating
-4 range of rating end smaller than its start
-5 unknown error occurred
-233 unknown error occurred
Clone this wiki locally