Skip to content

Latest commit

 

History

History
95 lines (53 loc) · 3.07 KB

StandingsApi.md

File metadata and controls

95 lines (53 loc) · 3.07 KB

\StandingsApi

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.

get_standing_types

crate::models::StandingTypes get_standing_types() Get all available NHL standing types.

Parameters

This endpoint does not need any parameter.

Return type

crate::models::StandingTypes

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_standings

crate::models::Standings get_standings(season, date) Get NHL division standings.

Parameters

Name Type Description Required Notes
season String Standings for a specified season.
date String Standings on a specified date.

Return type

crate::models::Standings

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_standings_by_type

crate::models::Standings get_standings_by_type(_type, date, season) Get NHL standings for a specific standing type.

Parameters

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.

Return type

crate::models::Standings

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]