osu-api-v1-js
    Preparing search index...

    Interface Match

    interface Match {
        games: {
            beatmap_id: number;
            end_time: Date | null;
            game_id: number;
            match_type: number;
            mods: Mods[];
            play_mode: Gamemodes;
            scores: {
                count100: number;
                count300: number;
                count50: number;
                countgeki: number;
                countkatu: number;
                countmiss: number;
                enabled_mods: Mods[] | null;
                maxcombo: number;
                pass: boolean;
                perfect: boolean;
                rank: number;
                score: number;
                slot: number;
                team: number;
                user_id: number;
            }[];
            scoring_type: WinConditions;
            start_time: Date;
            team_type: MultiplayerModes;
        }[];
        match: {
            end_time: Date
            | null;
            match_id: number;
            name: string;
            start_time: Date;
        };
    }
    Index

    Properties

    Properties

    games: {
        beatmap_id: number;
        end_time: Date | null;
        game_id: number;
        match_type: number;
        mods: Mods[];
        play_mode: Gamemodes;
        scores: {
            count100: number;
            count300: number;
            count50: number;
            countgeki: number;
            countkatu: number;
            countmiss: number;
            enabled_mods: Mods[] | null;
            maxcombo: number;
            pass: boolean;
            perfect: boolean;
            rank: number;
            score: number;
            slot: number;
            team: number;
            user_id: number;
        }[];
        scoring_type: WinConditions;
        start_time: Date;
        team_type: MultiplayerModes;
    }[]

    Type Declaration

    • beatmap_id: number
    • end_time: Date | null
    • game_id: number
    • match_type: number
    • mods: Mods[]

      Bitwise flag, feel free to use getMods to see the mods in a more readable way! Do note that individual scores have a nullable enabled_mods property

    • play_mode: Gamemodes
    • scores: {
          count100: number;
          count300: number;
          count50: number;
          countgeki: number;
          countkatu: number;
          countmiss: number;
          enabled_mods: Mods[] | null;
          maxcombo: number;
          pass: boolean;
          perfect: boolean;
          rank: number;
          score: number;
          slot: number;
          team: number;
          user_id: number;
      }[]
    • scoring_type: WinConditions
    • start_time: Date
    • team_type: MultiplayerModes
    match: {
        end_time: Date | null;
        match_id: number;
        name: string;
        start_time: Date;
    }

    Has the info about the match that is not related to what's been played

    Type Declaration

    • end_time: Date | null

      Is null if the match is not disbanded

    • match_id: number
    • name: string
    • start_time: Date