No params required. If called without params, you'll get basic team information.
The "body" of this endpoint returns a LIST of teams
Each team is returned as a map.
Basic team information includes Standings, Team name/city/conference/etc, and links to team logos.
One call returns all teams. teamID or teamAbv is not accepted as a param
Optional Parameters can return each teams' schedule, team stats, top performers, roster, and if you choose roster, you can pull back each player's stats.
This is a powerful endpoint that returns a ton of information back with one call. If called with all parameters active, expect more latency than our average latency.
gameID is always in format awayTeamAbv@homeTeamAbv_gameDate
gameDate is always in format YYYYMMDD
Team abbreviations and Team IDs can be found from /getNHLTeams endpoint
Parameters:
No parameters are required. Called by itself will pull back basic team information.
Optional parameters
topPerformers - If "true", you will receive an element called "topPerformers" within each team that will give you the top player(s) on that team in each statistical category. If not "true" then it will be ignored.
teamStats - If "true" then you will receive two elements in map format, in each team, called "defensiveStats" and "offensiveStats". These stats are broken down by position. If not "true" then it will be ignored.
Error Handling:
There is no error handling in this endpoint. If the incorrect values are given for a parameter, then those parameters will simply be ignored.
Other Helpful Tips and Info:
Standings information is updated immediately after each game completes.
All stats retrieved are current season only.
All player and team stats for this endpoint are accumulated daily. Not real time.
This endpoint will retrieve a map in this format:
statusCode
body - body is a LIST of teams
{}
teamID
teamAbv
teamCity
teamName
standings
currentStreak
result - will either be "W" or "L"
length - length of the streak
points
record
W
L
OTL
resultDetail
shootoutWin
shootoutLoss
regulationWin
regulationLoss
overtimeWin
overtimeLoss
goalsFor
goalsAgainst
diff - goal differential
conference
conferenceAbv
division
{logos} - there are links to various different logos you can use
topPerformers (this is a map of the stats that are accumulated for top performers) - this will exist if topPerformers=true
{category} - there will be many categories
teamStats - (map) this will exist if teamStats=true