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

Reference of v1 random

TheSnowfield edited this page Apr 23, 2020 · 6 revisions
arguments description optional
start range of start YES when end is not passed in
end range of end YES
info returns song info
when set true
YES

The default range is 1 to 11.

content.song_info is same as v1/songinfo

Return data

{
    "status": 0,
    "content": {
        "id": "grievouslady",
        "rating_class": 2,
        "song_info": {
            "id": "grievouslady",
            "title_localized": {
                "en": "Grievous Lady"
            },
            "artist": "Team Grimoire vs Laur",
            "bpm": "210",
            "bpm_base": 210,
            "set": "yugamu",
            "audioTimeSec": 141,
            "side": 1,
            "remote_dl": true,
            "world_unlock": false,
            "date": 1509667208,
            "difficulties": [
                {
                    "ratingClass": 0,
                    "chartDesigner": "迷路第一層",
                    "jacketDesigner": "シエラ",
                    "rating": 6.5
                },
                {
                    "ratingClass": 1,
                    "chartDesigner": "迷路第二層",
                    "jacketDesigner": "シエラ",
                    "rating": 9.1
                },
                {
                    "ratingClass": 2,
                    "chartDesigner": "迷路深層",
                    "jacketDesigner": "シエラ",
                    "rating": 11.2
                }
            ]
        }
    }
}

Error status

status description
0 everything is OK
-1 invalid range of start
-2 invalid range of end
-3 internal error
-4 internal error
-233 unknown error occurred
Clone this wiki locally