The Beatmap in question
Optionalmods: 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)
Optionalruleset: 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!