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

Reference of v4 user best

TheSnowfield edited this page Apr 20, 2021 · 7 revisions
arguments description optional
user user name or 9-digit user code YES, while passing usercode
usercode 9-digit user code YES, while passing user
songname any song name for fuzzy querying NO
difficulty accept format are 0/1/2/3 or pst/prs/ftr/byn or past/present/future/beyond NO

Return data

format follows the original arcapi

  • automatically calculate score rating and place in rating
{
    "status": 0,
    "content": {
        "song_id": "grievouslady",
        "difficulty": 2,
        "score": 0,
        "shiny_perfect_count": 0,
        "perfect_count": 0,
        "near_count": 0,
        "miss_count": 0,
        "health": 0,
        "modifier": 0,
        "time_played": 1145141145141,
        "best_clear_type": 0,
        "clear_type": 0,
        "character": 0,
        "is_skill_sealed": false,
        "is_char_uncapped": false,
        "rating": 0.0000
    }
}

Error status

status description
0 everything is OK
-1 invalid usercode
-2 invalid songname
-3 invalid difficulty
-4 invalid difficulty (map format failed)
-5 this song is not recorded in the database
-6 too many records
-7 internal error
-8 this song has no beyond level
-9 allocate an arc account failed
-10 clear friend list failed
-11 add friend failed
-12 internal error occurred
-13 internal error occurred
-14 not played yet
-233 unknown error occurred
Clone this wiki locally