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

Reference of v2 userinfo

TheSnowfield edited this page May 28, 2020 · 1 revision
arguments description optional
usercode 9-digit user code NO
recent returns recent played data
when set true and this user has submitted score
YES

Return data

format follows the original arcapi

  • recent_score maybe null
{
    "status": 0,
    "content": {
        "user_id": 114514,
        "name": "114514",
        "recent_score": {
            "song_id": "grievouslady",
            "difficulty": 2,
            "score": 0,
            "shiny_perfect_count": 0,
            "perfect_count": 0,
            "near_count": 0,
            "miss_count": 0,
            "clear_type": 0,
            "best_clear_type": 0,
            "health": 0,
            "time_played": 1145141145141,
            "modifier": 0,
            "rating": 0
        },
        "character": 0,
        "join_date": 1145141145141,
        "rating": 0,
        "is_skill_sealed": false,
        "is_char_uncapped": false,
        "is_char_uncapped_override": false,
        "is_mutual": false
    }
}

Error status

status description
0 everything is OK
-1 invalid usercode
-2 allocate an arc account failed
-3 clear friend list failed
-4 add friend failed
-5 internal error occurred
-233 unknown error occurred
Clone this wiki locally