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

Reference of v1 songinfo

TheSnowfield edited this page Apr 22, 2020 · 1 revision
arguments description optional
songname any song name for fuzzy querying NO

Return data

format follows the songlist file

  • title_localized.ja maybe null, but title_localized.en always exist
  • replace difficulties[x].rating into a float value
  • replace audioPreview and audioPreviewEnd into audioTimeSec
{
    "status": 0,
    "content": {
        "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 songname
-2 this song is not recorded in the database
-3 too many records
-233 unknown error occurred
Clone this wiki locally