Function getSeasonLeaderboardsById

  • Gets leaderboards for a season by the given ID (if it exists).

    Season is identified by its stringified ObjectID.

    Usage

    const seasonId: string = "9e9f99daa45c7";
    const seasonLeaderboards = await sdk.getSeasonLeaderboardsById({ seasonId });

    Parameters

    • params: {
          seasonId: string;
      }
      • seasonId: string

        ID of the season to get leaderboards of.

    Returns Promise<SeasonLeaderboardEntry[]>

Generated using TypeDoc