Function getSeasonById

  • Gets an active season by the given ID (if it exists).

    Season is identified by its stringified ObjectID.

    Usage

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

    Parameters

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

        ID of the season to be started.

    Returns Promise<Season>

Generated using TypeDoc