The Beatmap in question
Optional
mods: number | string[] | Mod[]Can be a bitset of mods, an array of mod acronyms, or an array of Mods (ignores mod settings) (defaults to No Mod)
Optional
ruleset: RulesetUseful to specify if the beatmap is a convert (defaults to the ruleset the beatmap was intended for)
You may want to use API.getBeatmapDifficultyAttributesOsu (or Taiko or whatever) instead for better type safety
Get various data about the difficulty of a beatmap!