Options
All
  • Public
  • Public/Protected
  • All
Menu

Class League

Hierarchy

  • League

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private api

iconUrls

iconUrls: object

Type declaration

  • medium: string
  • small: string
  • tiny: string

id

id: number

name

name: string

Methods

fetchSeason

  • Get league season rankings. Note that league season information is available only for Legend League.

    Parameters

    • seasonId: string

      Identifier of the season.

    Returns Promise<LeagueSeason>

fetchSeasons

  • fetchSeasons(limit?: number, after?: string, before?: string): Promise<LeagueSeason[]>
  • Get league seasons. Note that league season information is available only for Legend League.

    Parameters

    • Optional limit: number
    • Optional after: string
    • Optional before: string

    Returns Promise<LeagueSeason[]>

Made by Horyus. Documentation generated by TypeDoc.