The old version of scores, barely still used

interface Score {
    accuracy: number;
    best_id: null | number;
    created_at: Date;
    id: null | number;
    match: {
        pass: boolean;
        slot: number;
        team: "none" | "red" | "blue";
    };
    max_combo: number;
    mode:
        | "osu"
        | "taiko"
        | "fruits"
        | "mania";
    mode_int: Ruleset;
    mods: string[];
    passed: boolean;
    perfect: boolean;
    pp: null | number;
    rank: string;
    replay: boolean;
    score: number;
    statistics: {
        count_100: number;
        count_300: number;
        count_50: null | number;
        count_geki: null | number;
        count_katu: null | number;
        count_miss: number;
    };
    type: string;
    user_id: number;
}

Hierarchy (view full)

Properties

accuracy: number

In a format where 96.40% would be 0.9640 (and maybe some numbers afterwards)

best_id: null | number
created_at: Date
id: null | number

Would be null if ScoreV2 on stable, for example

match: {
    pass: boolean;
    slot: number;
    team: "none" | "red" | "blue";
}
max_combo: number
mode:
    | "osu"
    | "taiko"
    | "fruits"
    | "mania"
mode_int: Ruleset
mods: string[]
passed: boolean
perfect: boolean
pp: null | number

Is null when Beatmap is Loved (for example)

rank: string

Also known as a grade, for example this is X (SS) if accuracy is 1 (100.00%)

replay: boolean
score: number
statistics: {
    count_100: number;
    count_300: number;
    count_50: null | number;
    count_geki: null | number;
    count_katu: null | number;
    count_miss: number;
}

Type declaration

  • count_100: number
  • count_300: number
  • count_50: null | number

    Is null if the score's gamemode is Taiko

  • count_geki: null | number
  • count_katu: null | number
  • count_miss: number
type: string

Score format

user_id: number