Skip to main content

SeasonService

A list of all methods in the SeasonService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_component_seasonRetrieve component season information.
get_season_informationRetrieve season information.

get_component_season

Retrieve component season information.

  • HTTP Method: GET
  • Endpoint: /{lang}/componentSeason

Parameters

NameTypeRequiredDescription
langstrLanguage code

Return Type

dict

Example Usage Code Snippet

from nhl_stats import NhlStats, Environment

sdk = NhlStats(
base_url=Environment.DEFAULT.value
)

result = sdk.season.get_component_season(lang="lang")

print(result)

get_season_information

Retrieve season information.

  • HTTP Method: GET
  • Endpoint: /{lang}/season

Parameters

NameTypeRequiredDescription
langstrLanguage code

Return Type

dict

Example Usage Code Snippet

from nhl_stats import NhlStats, Environment

sdk = NhlStats(
base_url=Environment.DEFAULT.value
)

result = sdk.season.get_season_information(lang="lang")

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →