Skip to content
cyperdark edited this page May 9, 2022 · 1 revision

Return scores from beatmap

Authentication

const { auth } = require('osu-api-extended');
auth.set_v1(api_key);

Function

await v1.beatmap.scores()

Parameters

Parameter Type Description
id number id of the beatmap
mode string osu or fruits or mania or taiko
converted string 0 or 1
hash string beatmap file hash
limit string Maximum number of results
mods string/number Name of the mods HDDT or mods number 72
since string Return all beatmaps ranked or loved since this date. Must be a MySQL date. In UTC

Response

export interface response {
  date: string;
  rank: string;
  user: {
    id: number;
    name: string;
  };
  score: {
    id: number;
    total: number;
  };
  combo: {
    max: number;
    full: number;
  };
  hits: number[];
  mods: {
    id: number;
    name: string;
  };
  accuracy: number;
  pp: number;
  replay: number;
}

[v3.x.x] Documentation


[v2.x.x] Documentation

Clone this wiki locally