Skip to content

v2.assets.seasonalBackgrounds

cyperdark edited this page May 23, 2023 · 1 revision

Return array of seasonal backgrounds

Authentication

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

Function

await v2.assets.seasonalBackgrounds()

Response

export interface response {
  ends_at: string;
  backgrounds: {
    url: string;
    user: {
      avatar_url: string;
      country_code: string;
      default_group: string;
      id: number;
      is_active: boolean;
      is_bot: boolean;
      is_deleted: boolean;
      is_online: boolean;
      is_supporter: boolean;
      last_visit: string;
      pm_friends_only: boolean;
      profile_colour: string;
      username: string;
    };
  }[];
}

[v3.x.x] Documentation


[v2.x.x] Documentation

Clone this wiki locally