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_idcharacterTen digit identifier for NFL game.
teamcharacterNFL team. Uses official abbreviations as per NFL.com
stat_groupcharacter
playercharacterPlayer name
athlete_idcharacter
statcharacter
valuecharacterTotal 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
templatecharacterFox layout template name for the header payload; 'entity-header' in sampled data.
titlecharacter
entity_idcharacterFox id of the league entity as a string: the trailing number of the league's Fox contentUri.
content_uricharacterFox Bifrost content path of the league entity (e.g. 'football/nfl/league/1'); entity_id is its trailing number.
content_typecharacterFox entity type of the header's entity; 'league' for the league header.
colorcharacter
logo_urlcharacter
image_alt_textcharacterAlt text Fox supplies for the entity's logo image (e.g. 'National Football League').
rankcharacterQBR Rank in specified timeframe
detailscharacter

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
playerscharacter
v1characterUnlabeled second column of the Fox table (blank header, so named by position): the player's abbreviated name, e.g. 'J. Allen'.
ptscharacter
gpcharacter
pts_gcharacterPoints 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_idcharacterFox id of the row's linked player or team as a string: the trailing number of the row's entityLink contentUri.
tdcharacterTouchdowns 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
sectioncharacterTitle of the Fox odds-board section the game is listed under; always 'GAMES' in sampled data.
game_idcharacterTen digit identifier for NFL game.
event_timecharacterScheduled start time of the game as an ISO-8601 UTC timestamp string (e.g. '2026-09-20T17:00:00Z').
event_statusintegerFox numeric event status code for the game; always 2 in sampled data, captured when every listed game was still to be played.
teamcharacterNFL team. Uses official abbreviations as per NFL.com
spreadcharacter
to_wincharacterMoneyline for the row's team to win the game, as an American-odds string (e.g. '+196', '-238').
totalcharacterThe 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
titlecharacter
subtitlecharacterPlayer context line in 'TEAM #jersey - POSITION' form (e.g. 'HOU #12 - WR').
headlinecharacter
descriptioncharacter
impact_titlecharacterHeading Fox shows above the impact paragraph; always 'Impact' in sampled data.
impactcharacterFree-text analysis paragraph (headed by impact_title) on what the news means for the player's availability or role.
datecharacter
sourcecharacter
athlete_idcharacter
content_uricharacterFox 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_urlcharacterSite-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_listcharacterFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idcharacterID of the player in the 'name' column.
titlecharacter
datecharacter
uricharacterAbsolute 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_urlcharacterSite-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.
selectedcharacterFox'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_idcharacter

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_listcharacterFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idcharacterID of the player in the 'name' column.
titlecharacter
datecharacter
uricharacterAbsolute 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_urlcharacterSite-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.
selectedcharacterFox'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_idcharacter

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
sectioncharacterTitle of the Fox standings section the row's table belongs to: DIVISION, CONFERENCE or PRESEASON in sampled data.
afc_eastcharacterTeam'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.
v1characterUnlabeled second column of the Fox table (blank header, so named by position): the team nickname, e.g. 'Bills'.
w_l_tcharacterTeam's record as a win-loss-tie string with the tie count shown only when nonzero (e.g. '1-0', '1-1-1').
pctcharacter
pfcharacter
pacharacterPoints allowed by the team, as an integer string (e.g. '31').
homecharacter
awaycharacter
confcharacter
divcharacterTeam'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.
strkcharacter
entity_idcharacterFox id of the row's linked team as a string: the trailing number of the row's entityLink contentUri.
afc_northcharacterTeam'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_southcharacterTeam'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_westcharacterTeam'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_eastcharacterTeam'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_northcharacterTeam'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_southcharacterTeam'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_westcharacterTeam'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_conferencecharacterTeam'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_conferencecharacterTeam'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
categorycharacterBroader category of player positions
statcharacter
stat_abbreviationcharacterFox's short code for the leader stat (e.g. 'PYDS', 'RTD', 'K-RET YDS').
playercharacterPlayer name
valuecharacterTotal 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_idcharacterTen digit identifier for NFL game.
teamcharacterNFL team. Uses official abbreviations as per NFL.com
spreadcharacter
to_wincharacter
totalcharacterThe 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; 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_idcharacterTen digit identifier for NFL game.
quartercharacter
drive_idcharacter
drive_resultcharacter
drive_summarycharacter
drive_teamcharacter
play_idcharacterNumeric play id that when used with game_id and drive provides the unique identifier for a single play.
periodcharacter
clockcharacter
field_positioncharacterBall spot expressed on Yahoo's 0-100 field scale, measured toward the offense's target goal line.
play_textcharacter
play_teamcharacter

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_listcharacterFox navigation list the row came from (groupList, dailyList or selectionList); always 'selectionList' in sampled data.
idcharacterID of the player in the 'name' column.
titlecharacter
datecharacter
uricharacterAbsolute 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_urlcharacterSite-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.
selectedcharacterFox'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_idcharacter

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_idcharacter
sectioncharacter
afc_westcharacter
v1character
w_l_tcharacter
pctcharacter
pfcharacter
pacharacter
homecharacter
awaycharacter
confcharacter
divcharacter
strkcharacter
entity_idcharacterComposite 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_eastcharacter
afc_northcharacter
afc_southcharacter
nfc_eastcharacter
nfc_northcharacter
nfc_southcharacter
nfc_westcharacter
american_football_conferencecharacter
national_football_conferencecharacter

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_idcharacter
season_typecharacterREG or POST indicating if the timeframe belongs to regular or post season.
categorycharacterBroader category of player positions
game_idcharacterTen digit identifier for NFL game.
game_datecharacterDate of the game.
opponentcharacterOpposing team of player
statcharacter
valuecharacterTotal 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_idcharacter
position_groupcharacterPostion group of player as listed by NFL
playercharacterPlayer name
poscharacterPosition as tracked by FP
agecharacterAge as of last pipeline build, rounded to one decimal. Pipeline is built on a weekly basis.
htcharacterHeight of player (feet and inches)
wtcharacterWeight of player (lbs)
collegecharacterOfficial college (usually the last one attended)
athlete_idcharacter

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_idcharacter
categorycharacterBroader category of player positions
statcharacter
stat_abbreviationcharacter
playercharacterPlayer name
valuecharacterTotal 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
groupcharacter
fox_idcharacterFox Sports team id as a string, taken from the trailing number of content_uri (e.g. '17').
abbreviationcharacter
namecharacterName, as reported by MFL but reordered into FirstName LastName instead of Last, First
content_uricharacterFox Bifrost content path of the team in sport/league/entity-type/id form (e.g. 'football/nfl/teams/17').
content_typecharacterFox entity type of the navigation item's entity; 'team' for team rows.
web_urlcharacterSite-relative foxsports.com path of the team's page (not an absolute URL), e.g. '/nfl/detroit-lions-team'.
colorcharacter
logo_urlcharacter

Example

from sportsdataverse.nfl import fox_nfl_teamnav
df = fox_nfl_teamnav()