SeasonService
A list of all methods in the SeasonService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_component_season | Retrieve component season information. |
get_season_information | Retrieve season information. |
get_component_season
Retrieve component season information.
- HTTP Method:
GET
- Endpoint:
/{lang}/componentSeason
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | str | ✅ | Language 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
Name | Type | Required | Description |
---|---|---|---|
lang | str | ✅ | Language 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