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

    Function getRanking

    • Get the rankings of a spotlight from 2009 to 2020 on a specific ruleset!

      Parameters

      • this: API
      • ruleset: Ruleset

        Each spotlight has a different ranking (and often maps) depending on the ruleset

      • spotlight: number | Spotlight

        The spotlight in question

      • filter: "all" | "friends" = "all"

        What kind of players do you want to see? Keep in mind friends has no effect if no authorized user (defaults to all)

      Returns Promise<Spotlight.Ranking>