-
Notifications
You must be signed in to change notification settings - Fork 15
v1.match
cyperdark edited this page May 9, 2022
·
1 revision
Return match details
const { auth } = require('osu-api-extended');
await auth.login(client_id, client_secret);
await v1.match()
Parameter | Type | Description |
---|---|---|
id | string |
id of the user |
export interface response {
match: {
id: number;
name: string;
time: {
start: string;
end: string;
};
};
games: {
id: number;
time: {
start: string;
end: string;
};
beatmap_id: number;
mode: {
id: number;
name: string;
};
types: {
match: number;
scoring: {
id: number;
name: string;
};
team: {
id: number;
name: string;
};
};
mods: {
id: number;
name: string;
};
scores: {
team: {
id: number;
name: string;
};
slot: number;
user: {
id: number;
};
score: number;
combo: {
max: number;
perfect: number;
};
hits: number[];
mods: {
id: number;
name: string;
};
rank: string;
pass: string;
};
};
}