All URIs are relative to https://statsapi.web.nhl.com/api/v1
Method | HTTP request | Description |
---|---|---|
get_standing_types | Get /standingsTypes | Get all available NHL standing types. |
get_standings | Get /standings | Get NHL division standings. |
get_standings_by_type | Get /standings/{type} | Get NHL standings for a specific standing type. |
crate::models::StandingTypes get_standing_types() Get all available NHL standing types.
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Standings get_standings(season, date) Get NHL division standings.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
season | String | Standings for a specified season. | ||
date | String | Standings on a specified date. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Standings get_standings_by_type(_type, date, season) Get NHL standings for a specific standing type.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
_type | crate::models::EnumStandingTypes | Standing types: * byConference - Standings by Conference * byDivision - Standings by Division * byLeague - Standings by League * divisionLeaders - Division Leader standings * postseason - Postseason Standings * preseason - Preseason Standings * regularSeason - Regular Season Standings * wildCard - Wild card standings * wildCardWithLeaders - Wild card standings with Division Leaders |
Required | |
date | String | Standings on a specified date. | ||
season | String | Standings for a specified season. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]