Function getScores

  • Get "notable" scores from a user

    Parameters

    • this: API
    • user: number | User

      The user who set the scores

    • type: "best" | "firsts" | "recent"

      Do you want scores: in the user's top 100, that are top 1 on a beatmap, that have been recently set?

    • Optionalruleset: Ruleset

      The Ruleset the scores were made in (defaults to user's default Ruleset)

    • include: {
          fails?: boolean;
          lazer?: boolean;
      } = ...

      Do you also want lazer scores and failed scores? (defaults to true for lazer & false for fails)

      • Optionalfails?: boolean
      • Optionallazer?: boolean
    • Optionalconfig: User.Config

      Array limit & offset

    Returns Promise<WithUserBeatmapBeatmapset[]>