NHL — ESPN site API (v2)
sportsdataverse.nhl — 24 endpoints.
espn_nhl_scoreboard
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/scoreboard
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/scoreboard?dates=20240115&limit=500
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
dates | dates | Y | One day (YYYYMMDD) or one calendar year (YYYY). A range (YYYYMMDD-YYYYMMDD) is rejected with HTTP 400; request each day, or use the Core v2 events wrapper. | ||
week | week | Y | Week number within the season. | ||
seasontype | season_type | Y | Season phase: 1=preseason, 2=regular season, 3=postseason. | ||
groups | groups | Y | Conference or group id filter (e.g. an ESPN conference id). | ||
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
game_id | Int64 | ESPN event id. |
uid | String | Competitor uid string. |
date | String | Match start timestamp (ISO 8601, UTC). |
name | String | Full event name (e.g. 'Team A at Team B'). |
short_name | String | Abbreviated event name (e.g. 'TA @ TB'). |
season_year | Int64 | Integer season year ESPN assigns the event (e.g. 2025 for the 2025-26 season). |
season_type | Int64 | ESPN season-type id of the event's season: 1 preseason, 2 regular season, 3 postseason, 4 offseason for the US leagues; soccer competitions carry their own competition-specific ids (e.g. 13481). |
season_slug | String | ESPN slug of the event's season type (e.g. 'regular-season', 'post-season'; soccer competitions use their own, such as 'final' or 'torneo-apertura'). |
status_type_id | Int64 | Status type identifier. |
status_type_name | String | Status type name. |
status_type_state | String | Status state (pre/in/post). |
status_type_completed | Boolean | Whether the game is complete. |
status_type_description | String | Status description. |
status_type_detail | String | Status detail text. |
status_type_short_detail | String | Short status detail. |
status_clock | Float64 | Game clock in seconds as ESPN reports it: time remaining in the period for clock sports, elapsed seconds for soccer (e.g. 5400.0 at full time); 0.0 once a game has ended. |
status_display_clock | String | Display clock string. |
status_period | Int64 | Current or final period number (quarter, half, inning or period, depending on the sport). |
neutral_site | Boolean | Whether the match is played at a neutral venue. |
conference_competition | String | Whether it is a conference competition. |
attendance | Int64 | Game attendance. |
venue_id | Int64 | Venue identifier. |
venue_full_name | String | Venue full name. |
venue_city | String | Venue city. |
venue_state | String | Venue state. |
venue_indoor | Boolean | Whether the venue is indoors. |
broadcast | String | Every network name of the competition in feed order, deduped and ", "-joined (an entry with no names gives its market); "" when the game lists no broadcast. |
note | String | Event note text from the competition (e.g. a series or game label such as 'World Series - Game 1', or a shootout result); an empty string when there is none. |
home_id | Int64 | Home team ESPN identifier. |
home_name | String | Home team display name. |
home_abbreviation | String | Home team abbreviation. |
home_display_name | String | Home team display name. |
home_location | String | Home team city. |
home_color | String | Home team primary color hex. |
home_alternate_color | String | Home team alternate color hex. |
home_logo | String | Home team logo URL. |
home_score | String | Home team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)'). |
home_winner | Boolean | Whether the home team won. |
home_rank | Int64 | Home team rank (if ranked). |
away_id | Int64 | Away team ESPN identifier. |
away_name | String | Away team display name. |
away_abbreviation | String | Away team abbreviation. |
away_display_name | String | Away team display name. |
away_location | String | Away team city. |
away_color | String | Away team primary color hex. |
away_alternate_color | String | Away team alternate color hex. |
away_logo | String | Away team logo URL. |
away_score | String | Away team's score. For cricket, the innings string. |
away_winner | Boolean | Whether the away team won. |
away_rank | Int64 | Away team rank (if ranked). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_scoreboard(dates='20240115')
espn_nhl_summary
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/summary
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/summary
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
event | event_id | Y | event query parameter. |
Returns
return_parsed=True (default) — a dict of polars.DataFrames keyed by summary section (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).
boxscore_player
| col_name | type | description |
|---|---|---|
team_id | Int64 | Team id. |
team_abbreviation | String | Team abbreviation. |
team_display_name | String | Team display name. |
team_location | String | Team location. |
athlete_id | Int64 | Athlete id. |
athlete_display_name | String | Athlete display name. |
athlete_short_name | String | Athlete short name. |
athlete_jersey | String | Athlete jersey. |
athlete_position | String | Athlete position. |
starter | String | Starter. |
active | String | Active. |
did_not_play | String | Did not play. |
ejected | String | Ejected. |
reason | String | Reason. |
blocked_shots | String | Blocked shots. |
hits | String | Hits. |
takeaways | String | Takeaways. |
plus_minus | String | Plus minus. |
time_on_ice | String | Time on ice in seconds. |
power_play_time_on_ice | String | Total time the player spent on the ice during power-play situations in the game. |
short_handed_time_on_ice | String | Total time the player spent on the ice while the team was at a numerical disadvantage (shorthanded) in the game. |
even_strength_time_on_ice | String | Total time the player spent on the ice during even-strength situations in the game. |
shifts | String | Number of shifts. |
goals | String | Goals scored. |
ytd_goals | String | Year-to-date goal total for the player entering or through this game. |
assists | String | Assists. |
shots_total | String | Shots on goal. |
shots_missed | String | Number of shots taken by the player that did not result in a goal or save attempt in the game. |
shootout_goals | String | Shootout goals. |
faceoffs_won | String | Faceoffs won in the season. |
faceoffs_lost | String | Faceoffs lost in the season. |
faceoff_percent | String | Faceoff win percentage. |
giveaways | String | Giveaways. |
penalties | String | Penalty count. |
penalty_minutes | String | Penalty minutes. |
goals_against | String | Goals against. |
shots_against | String | Shots faced. |
shootout_saves | String | Shootout saves made. |
shootout_shots_against | String | Number of shootout attempts faced by the goaltender in the game's shootout. |
saves | String | Saves made. |
save_pct | String | Save percentage. |
even_strength_saves | String | Number of saves made by the goaltender during even-strength play in the game. |
power_play_saves | String | Number of saves made by the goaltender during power-play situations in the game. |
short_handed_saves | String | Number of saves made by the goaltender while the team was shorthanded in the game. |
boxscore_team
| col_name | type | description |
|---|---|---|
team_id | Int64 | Team id. |
team_abbreviation | String | Team abbreviation. |
team_display_name | String | Team display name. |
home_away | String | Home away. |
display_order | Int64 | Display order. |
stat_name | String | Stat name. |
stat_label | String | Stat label. |
stat_display_value | String | Stat display value. |
stat_value | String | Stat value. |
plays
| col_name | type | description |
|---|---|---|
id | Int64 | Id. |
sequence_number | String | Sequence number. |
text | String | Text. |
away_score | Int64 | Away score. |
home_score | Int64 | Home score. |
scoring_play | Boolean | Scoring play. |
score_value | Int64 | Score value. |
modified | String | |
wallclock | String | Wallclock. |
shooting_play | Boolean | Shooting play. |
type_id | Int64 | Type id. |
type_text | String | Type text. |
type_abbreviation | String | Play type abbreviation. |
period_number | Int64 | Period number. |
period_display_value | String | Period display value. |
clock_display_value | String | Clock display value. |
participants | String | Participants. |
team_id | Int64 | Team id. |
strength_id | Int64 | Strength situation id (e.g. even strength, PP, SH). |
strength_text | String | Strength situation (e.g. "Even Strength", "Power Play"). |
strength_abbreviation | String | Abbreviated label for the strength-of-play situation at the time of the scoring event (e.g., even strength, power play). |
coordinate_x | Float64 | Coordinate x. |
coordinate_y | Float64 | Coordinate y. |
shot_info_id | Int64 | Shot type identifier. |
shot_info_text | String | Shot type text (e.g. "Wrist Shot"). |
shot_info_abbreviation | String | Abbreviated description of the shot type associated with a scoring event in the box score. |
leaders
| col_name | type | description |
|---|---|---|
team_id | Int64 | Team id. |
team_abbreviation | String | Team abbreviation. |
category_name | String | Category name. |
category_display_name | String | Category display name. |
athlete_id | Int64 | Athlete id. |
athlete_display_name | String | Athlete display name. |
athlete_position | String | Athlete position. |
value | Float64 | Value. |
display_value | String | Display value. |
main_stat | String | Main stat. |
summary | String | Summary. |
game_info
| col_name | type | description |
|---|---|---|
attendance | Int64 | Attendance. |
venue_id | Int64 | Venue id. |
venue_guid | String | Venue guid. |
venue_full_name | String | Venue full name. |
venue_address_city | String | Venue address city. |
venue_address_state | String | Venue address state. |
venue_address_country | String | Country of the venue where the game was played. |
venue_grass | Boolean | Venue grass. |
officials
| col_name | type | description |
|---|---|---|
full_name | String | Full name. |
display_name | String | Display name. |
order | Int64 | Order. |
position_name | String | Position name. |
position_display_name | String | Position display name. |
position_id | Int64 | Position id. |
header
| col_name | type | description |
|---|---|---|
id | Int64 | Id. |
uid | String | Uid. |
time_valid | Boolean | Time valid. |
competitions | String | Competitions. |
links | String | Links. |
game_note | String | Optional editorial note or context annotation attached to the game in the header. |
standings | String | Condensed standings reference or link included in the game header for the relevant league. |
season_year | Int64 | Season year. |
season_current | Boolean | Season current. |
season_type | Int64 | Season type. |
league_id | Int64 | League id. |
league_uid | String | League uid. |
league_name | String | League name. |
league_abbreviation | String | League abbreviation. |
league_slug | String | League slug. |
league_is_tournament | Boolean | League is tournament. |
league_links | String | League links. |
league_logos | String | League logos. |
season_series
| col_name | type | description |
|---|---|---|
type | String | Type. |
title | String | Title. |
description | String | Description. |
summary | String | Summary. |
completed | Boolean | Completed. |
total_competitions | Int64 | Total competitions. |
series_label | String | Series label. |
series_score | String | Series score. |
short_summary | String | Short summary. |
events | String | Events. |
round | String | Shootout round number. |
standings
| col_name | type | description |
|---|---|---|
group_header | String | Group header. |
conference_header | String | Conference header. |
division_header | String | Division header. |
team_id | Int64 | Team id. |
team_uid | String | Team uid. |
team_location | String | Team location. |
ot_losses | String | Overtime losses. |
losses | String | Losses. |
points | String | Points. |
wins | String | Wins. |
broadcasts
| col_name | type | description |
|---|---|---|
station | String | Station full name (e.g. "FanDuel Sports Network Detroit"). |
lang | String | Broadcast language (e.g. "en"). |
region | String | Broadcast region (e.g. "us"). |
is_national | Boolean | Boolean flag indicating whether the broadcast is a nationally distributed feed. |
type_id | Int64 | Type id. |
type_short_name | String | Broadcast type short name (e.g. "TV"). |
type_long_name | String | Broadcast type long name (e.g. "Television"). |
type_slug | String | Broadcast type slug. |
market_id | Int64 | Market identifier. |
market_type | String | Market type. |
media_call_letters | String | Media outlet call letters. |
media_name | String | Media outlet full name. |
media_short_name | String | Media outlet short name. |
format
| col_name | type | description |
|---|---|---|
regulation_periods | Int64 | Regulation periods. |
regulation_display_name | String | Regulation display name. |
regulation_slug | String | Regulation slug. |
regulation_clock | Float64 | Regulation clock. |
article
| col_name | type | description |
|---|---|---|
id | Int64 | Id. |
now_id | String | Now id. |
content_key | String | Content key. |
data_source_identifier | String | Data source identifier. |
publishedkey | String | Publishedkey. |
type | String | Type. |
game_id | Int64 | Game id. |
headline | String | Headline. |
description | String | Description. |
link_text | String | Link text. |
categorized | String | Categorized. |
originally_posted | String | Originally posted. |
last_modified | String | Last modified. |
published | String | Published. |
section | String | Section. |
source | String | Source. |
images | String | Images. |
video | String | Video. |
categories | String | Categories. |
keywords | String | Keywords. |
story | String | Story. |
premium | Boolean | Premium. |
is_live_blog | Boolean | Is live blog. |
allow_comments | Boolean | Allow comments. |
allow_search | Boolean | Allow search. |
allow_content_reactions | Boolean | Allow content reactions. |
links_web_href | String | Links web href. |
links_mobile_href | String | Links mobile href. |
links_api_self_href | String | Links api self href. |
links_app_sportscenter_href | String | Links app sportscenter href. |
injuries
| col_name | type | description |
|---|---|---|
injuries | String | Injuries. |
team_id | Int64 | Team id. |
team_uid | String | Team uid. |
team_display_name | String | Team display name. |
team_abbreviation | String | Team abbreviation. |
team_links | String | Team links. |
team_logo | String | Team logo. |
team_logos | String | Team logos. |
news
| col_name | type | description |
|---|---|---|
id | Int64 | Id. |
now_id | String | Now id. |
content_key | String | Content key. |
data_source_identifier | String | Data source identifier. |
type | String | Type. |
headline | String | Headline. |
description | String | Description. |
last_modified | String | Last modified. |
published | String | Published. |
images | String | Images. |
categories | String | Categories. |
premium | Boolean | Premium. |
byline | String | Byline. |
links_web_href | String | Links web href. |
links_mobile_href | String | Links mobile href. |
links_api_self_href | String | Links api self href. |
links_app_sportscenter_href | String | Links app sportscenter href. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_summary()
espn_nhl_calendar
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/calendar
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/calendar
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: 404 in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_calendar()
espn_nhl_news
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/news
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/news?limit=50
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric identifier for the article. |
now_id | String | ESPN 'now' feed id. |
content_key | String | Internal content key. |
data_source_identifier | String | Source-system identifier. |
type | String | Article type (Story, Media, HeadlineNews, etc.). |
headline | String | Article headline. |
description | String | Article summary/description. |
last_modified | String | Last-modified timestamp (ISO 8601). |
published | String | Publish timestamp (ISO 8601). |
images | String | Article images (list, stringified). |
categories | String | Article categories (list, stringified). |
premium | Boolean | Whether the article is premium/paywalled. |
links_web_href | String | Web article URL. |
links_mobile_href | String | Mobile article URL. |
links_api_self_href | String | ESPN API canonical self-link for the article resource. |
links_app_sportscenter_href | String | SportsCenter app deep link. |
byline | String | Author byline string as published by ESPN. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_news()
espn_nhl_injuries
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/injuries
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/injuries
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric identifier for the athlete. |
display_name | String | Athlete's full display name as shown on ESPN. |
injuries | String | Injury entries for the athlete (list of dicts, stringified): status, type, details, dates. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_injuries()
espn_nhl_transactions
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/transactions
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/transactions?limit=500
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
date | String | Game date (ISO 8601 datetime string). |
description | String | Full text description of the event. |
team_abbreviation | String | Team abbreviation. |
team_alternate_color | String | Team alternate color hex. |
team_color | String | Team primary color hex. |
team_display_name | String | Team display name. |
team_id | Int64 | Unique team identifier. |
team_links | String | |
team_location | String | Team city/location. |
team_logos | String | Team logo metadata. |
team_name | String | Team name. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_transactions()
espn_nhl_conferences
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/groups
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/groups
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
group_id | Int64 | Group id (echoed from arg). |
name | String | Team mascot name. |
abbreviation | String | Team abbreviation. |
short_name | String | Short game name. |
is_conference | Boolean | Whether this group is a conference (vs. division). |
parent_group_id | Int64 | |
depth | Int64 | |
children_count | Int64 |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_conferences()
espn_nhl_statistics_league
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/statistics
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/statistics
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: parser: parse_items returns no columns on the live payload (nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb, 2026-10-07); its rows sit under keys it does not read (top level: league, season, status, timestamp).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_statistics_league()
espn_nhl_draft
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/draft
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/draft
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: parser: parse_items returns no columns on the live payload (nba, nfl, nhl, wnba, 2026-10-07); its rows sit under keys it does not read (top level: breakingNews, broadcasts, displayName, picks, positions, rounds, shortDisplayName, status).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_draft()
espn_nhl_teams_site
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams?limit=1000
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
team_abbreviation | String | Short team abbreviation (e.g. "BOS"). |
team_alternate_color | String | Secondary team color as a hex string (no leading '#'). |
team_color | String | Primary team color as a hex string (no leading '#'). |
team_display_name | String | Full team display name (location + nickname). |
team_id | Int64 | ESPN team id (stable join key across ESPN endpoints). |
team_is_active | Boolean | Whether the team is currently active. |
team_is_all_star | Boolean | Whether the entry is an all-star squad rather than a franchise. |
team_location | String | Team location / city (e.g. "Boston"). |
team_logos | String | Pipe-delimited logo image URLs. |
team_name | String | Team nickname/mascot (e.g. "Celtics"). |
team_nickname | String | Team nickname as ESPN labels it (often equals team_name). |
team_short_display_name | String | Abbreviated display name for compact UIs. |
team_slug | String | URL slug used in ESPN web paths. |
team_uid | String | ESPN global UID (encodes sport/league/team). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_teams_site()
espn_nhl_team
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
team_abbreviation | String | Team abbreviation. |
team_alternate_color | String | Team alternate color hex. |
team_color | String | Team primary color hex. |
team_display_name | String | Team display name. |
team_franchise_$ref | String | |
team_franchise_abbreviation | String | |
team_franchise_color | String | |
team_franchise_display_name | String | |
team_franchise_id | Int64 | Team franchise identifier. |
team_franchise_is_active | Boolean | |
team_franchise_location | String | |
team_franchise_name | String | |
team_franchise_short_display_name | String | |
team_franchise_slug | String | |
team_franchise_team_$ref | String | |
team_franchise_uid | String | |
team_franchise_venue_$ref | String | |
team_franchise_venue_address_city | String | |
team_franchise_venue_address_state | String | |
team_franchise_venue_full_name | String | |
team_franchise_venue_grass | Boolean | |
team_franchise_venue_guid | String | |
team_franchise_venue_id | Int64 | |
team_franchise_venue_images | String | |
team_franchise_venue_indoor | Boolean | |
team_franchise_venue_short_name | String | |
team_groups_id | Int64 | |
team_groups_is_conference | Boolean | |
team_groups_parent_id | Int64 | |
team_id | Int64 | Unique team identifier. |
team_is_active | Boolean | |
team_links | String | |
team_location | String | Team city/location. |
team_logos | String | Team logo metadata. |
team_name | String | Team name. |
team_next_event | String | |
team_record_items | String | |
team_short_display_name | String | Team short display name. |
team_slug | String | Team URL slug. |
team_standing_summary | String | |
team_uid | String | ESPN team uid. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team(team_id='4')
espn_nhl_team_roster
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/roster
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/roster?limit=500
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. | ||
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
position_group | String | Position group name (e.g. Centers). |
id | Int64 | Id. |
uid | String | Uid. |
guid | String | Guid. |
alternate_id | Int64 | Alternate player identifier. |
first_name | String | First name. |
last_name | String | Last name. |
full_name | String | Full name. |
display_name | String | Display name. |
short_name | String | Short name. |
weight | Float64 | Weight. |
display_weight | String | Display weight. |
height | Float64 | Height. |
display_height | String | Display height. |
age | Int64 | Age. |
date_of_birth | String | Date of birth. |
links | String | Links. |
slug | String | Slug. |
jersey | String | Jersey. |
injuries | String | Injuries. |
teams | String | Teams. |
contracts | String | Contracts. |
alternate_ids_sdr | String | Alternate ids sdr. |
birth_place_city | String | Birth place city. |
birth_place_country | String | Birth place country. |
birth_place_display_text | String | Birth place display text. |
birth_country_abbreviation | String | Birth country abbreviation. |
headshot_href | String | Headshot href. |
headshot_alt | String | Headshot alt. |
hand_type | String | Hand type. |
hand_abbreviation | String | Hand abbreviation. |
hand_display_value | String | Hand display value. |
position_id | Int64 | Position id. |
position_name | String | Position name. |
position_display_name | String | Position display name. |
position_abbreviation | String | Position abbreviation. |
position_leaf | Boolean | Position leaf. |
position_parent_id | Int64 | Parent position identifier. |
position_parent_name | String | Parent position name. |
position_parent_display_name | String | Parent position display name. |
position_parent_abbreviation | String | Parent position abbreviation. |
position_parent_leaf | Boolean | Whether parent position is leaf. |
experience_years | Int64 | Experience years. |
status_id | Int64 | Status id. |
status_name | String | Status name. |
status_type | String | Status type. |
status_abbreviation | String | Status abbreviation. |
debut_year | Float64 | Debut year. |
college_id | Int64 | College id. |
college_guid | String | College guid. |
college_mascot | String | College mascot. |
college_name | String | College name. |
college_short_name | String | College short name. |
college_abbrev | String | College abbrev. |
college_logos | String | College logos. |
birth_place_state | String | Birth place state. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_roster(team_id='4')
espn_nhl_team_schedule
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/schedule
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/schedule
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. | ||
season | season | Y | Season year (e.g. 2024). |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric event identifier. |
date | String | Event timestamp (ISO 8601, UTC). |
name | String | Full event name (e.g. 'Team A at Team B'). |
short_name | String | Abbreviated event name (e.g. 'TA @ TB'). |
time_valid | Boolean | Whether the event time is confirmed. |
competitions | String | Competition detail (list of dicts, stringified): competitors, venue, status. |
links | String | Related links (list, stringified). |
season_year | Int64 | Four-digit season year. |
season_display_name | String | Human-readable season label (e.g. '2024-25'). |
season_type_id | Int64 | ESPN numeric identifier for the season type. |
season_type_type | Int64 | Season type numeric code. |
season_type_name | String | Season type name (e.g. Regular Season). |
season_type_abbreviation | String | Season type abbreviation. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_schedule(team_id='4')
espn_nhl_team_record
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/record
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/record
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: ESPN answers an empty object in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_record(team_id='4')
espn_nhl_team_depthcharts
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/depthcharts
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/depthcharts
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: parser: parse_items returns no columns on the live payload (nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb, 2026-10-07); its rows sit under keys it does not read (top level: depthchart, season, status, team, timestamp).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_depthcharts(team_id='4')
espn_nhl_team_injuries
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/injuries
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/injuries
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric identifier for the athlete. |
display_name | String | Athlete's full display name as shown on ESPN. |
injuries | String | Injury entries for the athlete (list of dicts, stringified): status, type, details, dates. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_injuries(team_id='4')
espn_nhl_team_transactions
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/transactions
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/transactions
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: ESPN answers an empty object in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_transactions(team_id='4')
espn_nhl_team_history
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/history
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/history
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: ESPN answers an empty object in nba, nfl, mlb, nhl, wnba, mbb, wbb; 400 in cfb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_history(team_id='4')
espn_nhl_team_news
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/news
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/news?limit=50
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. | ||
limit | limit | Y | Maximum number of items to return. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric identifier for the article. |
now_id | String | ESPN 'now' feed id. |
content_key | String | Internal content key. |
data_source_identifier | String | Source-system identifier. |
type | String | Article type (Story, Media, HeadlineNews, etc.). |
headline | String | Article headline. |
description | String | Article summary/description. |
last_modified | String | Last-modified timestamp (ISO 8601). |
published | String | Publish timestamp (ISO 8601). |
images | String | Article images (list, stringified). |
categories | String | Article categories (list, stringified). |
premium | Boolean | Whether the article is premium/paywalled. |
links_web_href | String | Web article URL. |
links_mobile_href | String | Mobile article URL. |
links_api_self_href | String | ESPN API canonical self-link for the article resource. |
links_app_sportscenter_href | String | SportsCenter app deep link. |
byline | String | Author byline string as published by ESPN. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_news(team_id='4')
espn_nhl_team_leaders
Deprecated: ESPN answers this team route with an empty object.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/{team_id}/leaders
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/4/leaders
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: ESPN answers an empty object in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_team_leaders(team_id='4')
espn_nhl_player_info
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/{athlete_id}
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/4239
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
athlete_id | athlete_id | Y | athlete_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_single_entity; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: 404 in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_player_info(athlete_id='4239')
espn_nhl_player_bio
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/{athlete_id}/bio
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/4239/bio
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
athlete_id | athlete_id | Y | athlete_id path parameter. |
Returns
return_parsed=True (default) — the output of parse_single_entity; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: 404 in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_player_bio(athlete_id='4239')
espn_nhl_player_news
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/{athlete_id}/news
Valid URL: https://site.api.espn.com/apis/site/v2/sports/hockey/nhl/athletes/4239/news
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
athlete_id | athlete_id | Y | athlete_id path parameter. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
id | Int64 | ESPN numeric identifier for the article. |
now_id | String | ESPN 'now' feed id. |
content_key | String | Internal content key. |
data_source_identifier | String | Source-system identifier. |
type | String | Article type (Story, Media, HeadlineNews, etc.). |
headline | String | Article headline. |
description | String | Article summary/description. |
last_modified | String | Last-modified timestamp (ISO 8601). |
published | String | Publish timestamp (ISO 8601). |
images | String | Article images (list, stringified). |
categories | String | Article categories (list, stringified). |
premium | Boolean | Whether the article is premium/paywalled. |
links_web_href | String | Web article URL. |
links_mobile_href | String | Mobile article URL. |
links_api_self_href | String | ESPN API canonical self-link for the article resource. |
links_app_sportscenter_href | String | SportsCenter app deep link. |
byline | String | Author byline string as published by ESPN. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_player_news(athlete_id='4239')
espn_nhl_standings
ESPN endpoint.
Endpoint URL: GET https://site.api.espn.com/apis/v2/sports/hockey/nhl/standings
Valid URL: https://site.api.espn.com/apis/v2/sports/hockey/nhl/standings
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
season | season | Y | Season year (e.g. 2024). | ||
group | group | Y | Conference or group id filter (e.g. an ESPN conference id). | ||
type | standings_type | Y | Standings variant (e.g. 'by-division' or 'by-conference'). |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
group_name | String | Group name. |
group_abbreviation | String | Group abbreviation. |
team_id | Int64 | Team id. |
team_name | String | Team name. |
team_abbreviation | String | Team abbreviation. |
team_display_name | String | Team display name. |
team_location | String | Team location. |
team_logo | String | Team logo. |
ot_losses | Float64 | Overtime losses. |
clincher | Float64 | Clincher. |
differential | Float64 | Differential. |
games_behind | Float64 | Games behind. |
games_played | Float64 | Matches played. |
losses | Float64 | Losses. |
playoff_seed | Float64 | Playoff seed. |
point_differential | Float64 | Point differential. |
points | Float64 | Points. |
points_against | Float64 | Points against. |
points_for | Float64 | Points for. |
streak | Float64 | Streak. |
wins | Float64 | Wins. |
overtime_losses | Float64 | Total overtime losses. |
overtime_wins | Float64 | Overtime wins. |
points_diff | Float64 | Difference between total points scored for and against the team across all games played. |
reg_losses | Float64 | Number of losses the team has suffered in regulation time (excluding overtime and shootout losses). |
reg_wins | Float64 | Number of wins the team has earned in regulation time (excluding overtime and shootout wins). |
rot_losses | Float64 | Number of losses the team has suffered in overtime or the shootout (non-regulation losses). |
rot_wins | Float64 | Number of wins the team has earned in overtime or the shootout (non-regulation wins). |
shootout_losses | Float64 | Shootout losses. |
shootout_wins | Float64 | Shootout wins. |
overall | String | Overall. |
home | String | Home. |
road | String | Road. |
last ten games | String | Last ten games. |
vs. div. | String | Vs. div.. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. |
Example
espn_nhl_standings()