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

    Function getUserScore

    • Get the score on a beatmap made by a specific user (with specific mods and on a specific ruleset if needed)

      Parameters

      • this: API
      • beatmap: number | Beatmap

        The Beatmap the score was made on

      • user: number | User

        The User who made the score

      • Optionalconfig: Pick<Beatmap.Config, "legacy_only" | "mods" | "ruleset">

        Specify the score's ruleset, the score's mods, prevent a lazer score from being returned

      Returns Promise<{ position: number; score: WithUserBeatmap }>

      An Object with the position of the score according to the specified Mods and Ruleset, and with the score itself