Skip to main content

NFL — additional Python functions — Fox Sports API

fox_nfl_boxscore​

fox_nfl_boxscore(game_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL boxscore (long: one row per player-stat).

Parameters

ParameterTypeDefaultDescription
game_idUnion[int, str]Fox Bifrost event id.
return_parsedboolTrueIf True (default) flatten the per-team stat tables to long form; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
game_idStringTen digit identifier for NFL game.
teamStringNFL team. Uses official abbreviations as per NFL.com
stat_groupString
playerStringPlayer name
athlete_idString
statString
valueStringTotal contract value

Example

from sportsdataverse.nfl import fox_nfl_boxscore
df = fox_nfl_boxscore("...")

fox_nfl_event_matchup​

fox_nfl_event_matchup(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl pregame team-stat comparison (one row per stat).

Wraps nfl/event/{game_id}/matchup.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_event_matchup
df = fox_nfl_event_matchup("...")

fox_nfl_event_recap​

fox_nfl_event_recap(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl postgame top performers (one row per player).

Wraps nfl/event/{game_id}/recap.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_event_recap
df = fox_nfl_event_recap("...")

fox_nfl_event_standings​

fox_nfl_event_standings(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl the two teams' standings context.

Wraps nfl/event/{game_id}/standings.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_event_standings
df = fox_nfl_event_standings("...")

fox_nfl_league_conferences​

fox_nfl_league_conferences(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl conference / group directory.

Wraps nfl/league/conferences.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_league_conferences
df = fox_nfl_league_conferences()

fox_nfl_league_header​

fox_nfl_league_header(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league header (one row).

Wraps nfl/league/header.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
templateStringFox layout template name for the header payload; 'entity-header' in sampled data.
titleString
entity_idStringFox id of the league entity as a string: the trailing number of the league's Fox contentUri.
content_uriStringFox Bifrost content path of the league entity (e.g. 'football/nfl/league/1'); entity_id is its trailing number.
content_typeStringFox entity type of the header's entity; 'league' for the league header.
colorString
logo_urlString
image_alt_textStringAlt text Fox supplies for the entity's logo image (e.g. 'National Football League').
rankStringQBR Rank in specified timeframe
detailsString

Example

from sportsdataverse.nfl import fox_nfl_league_header
df = fox_nfl_league_header()

fox_nfl_league_leaders​

fox_nfl_league_leaders(category: 'str' = 'scoring', who: 'str' = 'player', page: 'int' = 0, *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL statistical leaders (stats-con); who=player|team.

Parameters

ParameterTypeDefaultDescription
categorystr'scoring'Stat category. Defaults to "scoring".
whostr'player'"player" or "team". Defaults to "player".
pageint00-based result page. Defaults to 0.
return_parsedboolTrueIf True (default) flatten the leader tables to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
playersString
v1StringUnlabeled second column of the Fox table (blank header, so named by position): the player's abbreviated name, e.g. 'J. Allen'.
ptsString
gpString
pts_gStringPoints per game for the leader, as a one-decimal string (e.g. '24.0'); null on rows stacked in from a leader table that has no such column.
entity_idStringFox id of the row's linked player or team as a string: the trailing number of the row's entityLink contentUri.
tdStringTouchdowns credited to the leader, as an integer string (e.g. '4'); null on rows stacked in from a leader table that has no such column.

Example

from sportsdataverse.nfl import fox_nfl_league_leaders
df = fox_nfl_league_leaders("scoring")

fox_nfl_league_odds​

fox_nfl_league_odds(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league odds board (one row per team per game).

Wraps nfl/league/odds.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
sectionStringTitle of the Fox odds-board section the game is listed under; always 'GAMES' in sampled data.
game_idStringTen digit identifier for NFL game.
event_timeStringScheduled start time of the game as an ISO-8601 UTC timestamp string (e.g. '2026-09-20T17:00:00Z').
event_statusInt64Fox numeric event status code for the game; always 2 in sampled data, captured when every listed game was still to be played.
teamStringNFL team. Uses official abbreviations as per NFL.com
spreadString
to_winStringMoneyline for the row's team to win the game, as an American-odds string (e.g. '+196', '-238').
totalStringThe sum of each team's score in the game. Equals h_score + v_score. Is NA for games which haven't yet been played. Convenient for evaluating over/under total bets.

Example

from sportsdataverse.nfl import fox_nfl_league_odds
df = fox_nfl_league_odds()

fox_nfl_league_player_news​

fox_nfl_league_player_news(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league-wide player news feed.

Wraps nfl/league/playernews.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
titleString
subtitleStringPlayer context line in 'TEAM #jersey - POSITION' form (e.g. 'HOU #12 - WR').
headlineString
descriptionString
impact_titleStringHeading Fox shows above the impact paragraph; always 'Impact' in sampled data.
impactStringFree-text analysis paragraph (headed by impact_title) on what the news means for the player's availability or role.
dateString
sourceString
athlete_idString
content_uriStringFox Bifrost content path of the player the news item is about, in sport/league/entity-type/id form (e.g. 'football/nfl/athletes/22256').
web_urlStringSite-relative foxsports.com path of the player's page (not an absolute URL), e.g. '/nfl/nico-collins-player'.

Example

from sportsdataverse.nfl import fox_nfl_league_player_news
df = fox_nfl_league_player_news()

fox_nfl_league_polls​

fox_nfl_league_polls(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl rankings / polls rendered as standings tables.

Wraps nfl/league/polls.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_league_polls
df = fox_nfl_league_polls()

fox_nfl_league_schedule​

fox_nfl_league_schedule(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league schedule nav selections.

Wraps nfl/league/schedule.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
selection_listStringFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idStringID of the player in the 'name' column.
titleString
dateString
uriStringAbsolute Fox Bifrost API URL (https://api.foxsports.com/bifrost/v1/nfl/...) of the segment feed this selection loads, ending in a segment id such as 2026-1-1.
web_urlStringSite-relative foxsports.com path of the page for this selection (not an absolute URL), carrying seasonType and week query parameters such as seasonType=reg&week=1.
selectedStringFox's default-selection flag, which Fox sets only on group-filter (groupList) items; this league's navigation payload has no groupList, so the column is null on every row. The current date or week is marked by the payload-level currentSelectionId, which the parser does not return.
group_idString

Example

from sportsdataverse.nfl import fox_nfl_league_schedule
df = fox_nfl_league_schedule()

fox_nfl_league_scores​

fox_nfl_league_scores(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league scores nav selections.

Wraps nfl/league/scores.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
selection_listStringFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idStringID of the player in the 'name' column.
titleString
dateString
uriStringAbsolute Fox Bifrost API URL (https://api.foxsports.com/bifrost/v1/nfl/...) of the segment feed this selection loads, ending in a segment id such as 2026-1-1.
web_urlStringSite-relative foxsports.com path of the page for this selection (not an absolute URL), carrying seasonType and week query parameters such as seasonType=reg&week=1.
selectedStringFox's default-selection flag, which Fox sets only on group-filter (groupList) items; this league's navigation payload has no groupList, so the column is null on every row. The current date or week is marked by the payload-level currentSelectionId, which the parser does not return.
group_idString

Example

from sportsdataverse.nfl import fox_nfl_league_scores
df = fox_nfl_league_scores()

fox_nfl_league_standings​

fox_nfl_league_standings(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league-wide standings tables.

Wraps nfl/league/standings.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
sectionStringTitle of the Fox standings section the row's table belongs to: DIVISION, CONFERENCE or PRESEASON in sampled data.
afc_eastStringTeam's position number in the AFC East standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
v1StringUnlabeled second column of the Fox table (blank header, so named by position): the team nickname, e.g. 'Bills'.
w_l_tStringTeam's record as a win-loss-tie string with the tie count shown only when nonzero (e.g. '1-0', '1-1-1').
pctString
pfString
paStringPoints allowed by the team, as an integer string (e.g. '31').
homeString
awayString
confString
divStringTeam's division record as a 'W-L' string (e.g. '1-0', '0-1'); null on rows from standings tables that have no DIV column.
strkString
entity_idStringFox id of the row's linked team as a string: the trailing number of the row's entityLink contentUri.
afc_northStringTeam's position number in the AFC North standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
afc_southStringTeam's position number in the AFC South standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
afc_westStringTeam's position number in the AFC West standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
nfc_eastStringTeam's position number in the NFC East standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
nfc_northStringTeam's position number in the NFC North standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
nfc_southStringTeam's position number in the NFC South standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
nfc_westStringTeam's position number in the NFC West standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
american_football_conferenceStringTeam's position number in the American Football Conference standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.
national_football_conferenceStringTeam's position number in the National Football Conference standings table, stored as a string (e.g. '1', '2'); the column is named from that table's header cell, so it is null on rows from every other table.

Example

from sportsdataverse.nfl import fox_nfl_league_standings
df = fox_nfl_league_standings()

fox_nfl_league_stat_leaders​

fox_nfl_league_stat_leaders(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl league stats landing leaders.

Wraps nfl/league/stats.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
categoryStringBroader category of player positions
statString
stat_abbreviationStringFox's short code for the leader stat (e.g. 'PYDS', 'RTD', 'K-RET YDS').
playerStringPlayer name
valueStringTotal contract value

Example

from sportsdataverse.nfl import fox_nfl_league_stat_leaders
df = fox_nfl_league_stat_leaders()

fox_nfl_odds​

fox_nfl_odds(game_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL game odds six-pack (spread / to-win / total per team).

Parameters

ParameterTypeDefaultDescription
game_idUnion[int, str]Fox Bifrost event id.
return_parsedboolTrueIf True (default) flatten the six-pack market to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
game_idStringTen digit identifier for NFL game.
teamStringNFL team. Uses official abbreviations as per NFL.com
spreadString
to_winString
totalStringThe sum of each team's score in the game. Equals h_score + v_score. Is NA for games which haven't yet been played. Convenient for evaluating over/under total bets.

Example

from sportsdataverse.nfl import fox_nfl_odds
df = fox_nfl_odds("...")

fox_nfl_pbp​

fox_nfl_pbp(game_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL play-by-play (one row per play, oldest first, live or final; drive-based).

Parameters

ParameterTypeDefaultDescription
game_idUnion[int, str]Fox Bifrost event id.
return_parsedboolTrueIf True (default) flatten the pbp layout to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
game_idStringTen digit identifier for NFL game.
quarterString
drive_idString
drive_resultString
drive_summaryString
drive_teamString
play_idStringNumeric play id that when used with game_id and drive provides the unique identifier for a single play.
periodString
clockString
field_positionStringBall spot expressed on Yahoo's 0-100 field scale, measured toward the offense's target goal line.
play_textString
play_teamStringClub code from the game header (e.g. 'NYG') of the drive group Fox files the play under, i.e. the possession team; on a kickoff it is the receiving team, since Fox opens the receiver's drive with the kick.
play_playerStringName of the athlete Fox credits the play to (its play-level entity link), upper-cased as Fox serves it (e.g. 'DEVIN SINGLETARY'); null on admin rows such as timeouts and period ends.

Example

from sportsdataverse.nfl import fox_nfl_pbp
df = fox_nfl_pbp("...")

fox_nfl_scoreboard​

fox_nfl_scoreboard(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl scoreboard nav selections (weeks / dates / groups).

Wraps nfl/scoreboard/main.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
selection_listStringFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idStringID of the player in the 'name' column.
titleString
dateString
uriStringAbsolute Fox Bifrost API URL (https://api.foxsports.com/bifrost/v1/nfl/...) of the segment feed this selection loads, ending in a segment id such as 2026-1-1.
web_urlStringSite-relative foxsports.com path of the page for this selection (not an absolute URL), carrying seasonType and week query parameters such as seasonType=reg&week=1.
selectedStringFox's default-selection flag, which Fox sets only on group-filter (groupList) items; this league's navigation payload has no groupList, so the column is null on every row. The current date or week is marked by the payload-level currentSelectionId, which the parser does not return.
group_idString

Example

from sportsdataverse.nfl import fox_nfl_scoreboard
df = fox_nfl_scoreboard()

fox_nfl_scorechip​

fox_nfl_scorechip(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl compact live score chip (raw dict -- live-only, uncaptured shape).

Wraps nfl/scorechip/{chip_id}.

Returns

The raw JSON dict.

Example

from sportsdataverse.nfl import fox_nfl_scorechip
df = fox_nfl_scorechip("nfl12345")

fox_nfl_scores_segment​

fox_nfl_scores_segment(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl one row per game in a scoreboard segment.

Wraps nfl/league/scores-segment/{segment_id}.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_scores_segment
df = fox_nfl_scores_segment("...")

fox_nfl_standings​

fox_nfl_standings(team_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL standings for a team's conference/division.

Parameters

ParameterTypeDefaultDescription
team_idUnion[int, str]Fox Bifrost team id.
return_parsedboolTrueIf True (default) flatten the standings tables to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
team_idString
sectionString
afc_westString
v1String
w_l_tString
pctString
pfString
paString
homeString
awayString
confString
divString
strkString
entity_idStringComposite Yahoo id this editorial row was keyed under, surfaced from the collection map key (e.g., "ncaaf.g.202509200023" for a game, "ncaaf.t.29" for a team); always carried as Utf8.
afc_eastString
afc_northString
afc_southString
nfc_eastString
nfc_northString
nfc_southString
nfc_westString
american_football_conferenceString
national_football_conferenceString

Example

from sportsdataverse.nfl import fox_nfl_standings
df = fox_nfl_standings("...")

fox_nfl_team_gamelog​

fox_nfl_team_gamelog(team_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL team game log (long: one row per game-stat).

Parameters

ParameterTypeDefaultDescription
team_idUnion[int, str]Fox Bifrost team id.
return_parsedboolTrueIf True (default) flatten to long form; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
team_idString
season_typeStringREG or POST indicating if the timeframe belongs to regular or post season.
categoryStringBroader category of player positions
game_idStringTen digit identifier for NFL game.
game_dateStringDate of the game.
opponentStringOpposing team of player
statString
valueStringTotal contract value

Example

from sportsdataverse.nfl import fox_nfl_team_gamelog
df = fox_nfl_team_gamelog("...")

fox_nfl_team_header​

fox_nfl_team_header(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl team header (one row).

Wraps nfl/team/{team_id}/header.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

Example

from sportsdataverse.nfl import fox_nfl_team_header
df = fox_nfl_team_header("...")

fox_nfl_team_roster​

fox_nfl_team_roster(team_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL team roster (one row per player).

Parameters

ParameterTypeDefaultDescription
team_idUnion[int, str]Fox Bifrost team id.
return_parsedboolTrueIf True (default) flatten the position-group tables to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
team_idString
position_groupStringPostion group of player as listed by NFL
playerStringPlayer name
posStringPosition as tracked by FP
ageStringAge as of last pipeline build, rounded to one decimal. Pipeline is built on a weekly basis.
htStringHeight of player (feet and inches)
wtStringWeight of player (lbs)
collegeStringOfficial college (usually the last one attended)
athlete_idString

Example

from sportsdataverse.nfl import fox_nfl_team_roster
df = fox_nfl_team_roster("...")

fox_nfl_team_stats​

fox_nfl_team_stats(team_id: 'Union[int, str]', *, return_parsed: 'bool' = True, return_as_pandas: 'bool' = False, **kwargs: 'Any') -> "Union[pl.DataFrame, 'pd.DataFrame', Dict[str, Any]]"

NFL team stat leaders by category.

Parameters

ParameterTypeDefaultDescription
team_idUnion[int, str]Fox Bifrost team id.
return_parsedboolTrueIf True (default) flatten the leader sections to a DataFrame; if False return the raw JSON dict.
return_as_pandasboolFalseIf True return a pandas DataFrame; otherwise polars. Ignored when return_parsed=False.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
team_idString
categoryStringBroader category of player positions
statString
stat_abbreviationString
playerStringPlayer name
valueStringTotal contract value

Example

from sportsdataverse.nfl import fox_nfl_team_stats
df = fox_nfl_team_stats("...")

fox_nfl_teamnav​

fox_nfl_teamnav(*args: 'Any', **kwargs: 'Any') -> 'Any'

Fox Sports nfl team directory (one row per team).

Wraps nfl/league/teamnav.

Returns

A polars DataFrame (default), a pandas DataFrame when return_as_pandas=True, or the raw JSON dict when return_parsed=False.

col_nametypedescription
groupString
fox_idStringFox Sports team id as a string, taken from the trailing number of content_uri (e.g. '17').
abbreviationString
nameStringName, as reported by MFL but reordered into FirstName LastName instead of Last, First
content_uriStringFox Bifrost content path of the team in sport/league/entity-type/id form (e.g. 'football/nfl/teams/17').
content_typeStringFox entity type of the navigation item's entity; 'team' for team rows.
web_urlStringSite-relative foxsports.com path of the team's page (not an absolute URL), e.g. '/nfl/detroit-lions-team'.
colorString
logo_urlString

Example

from sportsdataverse.nfl import fox_nfl_teamnav
df = fox_nfl_teamnav()