Skip to content

JSON values

expiteRz edited this page Oct 21, 2023 · 8 revisions

All values retrieved from Wiimmfi and transform them to easy-read

// Since commit 6afafe50e0abb953067c79c5cebe7939b9814340
{
    "status": "success",
    "id": "room id",
    "setting": {
        "game_mode": 0, // 0 = VS race, 1 = coins, 2 = balloons, 19 = private vs, 20 = private coins, 21 = private balloons
        "engine": 1, // 0 = 50cc, 1 = 100cc, 2 = 150cc, 3 = mirror
        "course": "Wii Luigi Circuit (Nintendo)"
        "course_id": 3491 // WBZ id
    },
    "player_amount": 1,
    "members": [
        {
            "pid": 600000000,
            "friend_code": "1234-5678-9012",
            "name": "no name",
            "guest_name": "no name", // it store here if guest exists
            "vr": 5000,
            "br": 5000,
            "role": "host", // "host", "guest", "viewer", "connect"
            "finish_times": [ -1 ] // (value / 1000) will seconds // if guest exists it will store 2 values
        }
    ]
}
Clone this wiki locally