Skip to content
cyperdark edited this page Mar 31, 2023 · 3 revisions

Return array of the matches

Authentication

const { auth } = require('osu-api-extended');
await auth.login(client_id, client_secret);

Function

await v2.matches.list()

Response

export interface response {
  matches: {
    id: number;
    start_time: string;
    end_time?: string;
    name: string;
  }[];
  params: {
    limit: number;
    sort: string;
  };
  cursor: {
    match_id: number;
  };
  cursor_string: string;
}

[v3.x.x] Documentation


[v2.x.x] Documentation

Clone this wiki locally