Skip to main content

YAHOO — Yahoo Sports Shangrila (graphite-secure.sports.yahoo.com) — Playbook: boxscore–team

yahoo_playbook_boxscore​

Yahoo shangrila persisted query playbookBoxscore -> tables: football_positions, football_stat_types, games

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscore

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscore

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
standingsSeasonPhasesstandings_season_phasesYstandingsSeasonPhases query parameter.
imageHeightimage_heightYimageHeight query parameter.
imageWidthimage_widthYimageWidth query parameter.
isBaseballis_baseballYisBaseball query parameter.
isFootballis_footballYisFootball query parameter.
isProBasketballis_pro_basketballYisProBasketball query parameter.
isCollegeBasketballis_college_basketballYisCollegeBasketball query parameter.
isHockeyis_hockeyYisHockey query parameter.
isSocceris_soccerYisSoccer query parameter.
eventStateevent_stateYeventState query parameter.

Returns​

return_parsed=True (default) — A dict of polars/pandas DataFrames keyed by the payload's data collections (representative columns below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys). football_positions

col_nametypedescription
position_idcharacterUnique position identifier.
namecharacterDisplay name.
abbreviationcharacterShort abbreviation.

football_stat_types

col_nametypedescription
stat_idcharacterYahoo stat-type key the leader board is built on (e.g., "PASSING_YARDS", "GAMES_RUSHING").
abbreviationcharacterShort abbreviation.
display_namecharacterDisplay name.
short_namecharacterShort display name.
context_agnostic_abbreviationcharacterAbbreviation for the statistic that still reads correctly outside its category (e.g., "PassYds" where the in-category abbreviation is only "Yds").
sort_ordercharacterDisplay sort order for the sport.

games

col_nametypedescription
game_idcharacterUnique game identifier.
display_namecharacterDisplay name.
display_resultcharacterDrive-result label (e.g. Punt, Touchdown).
sport_namecharacterSport name (e.g., Major League Baseball).
league_namecharacterLeague name.
league_full_namecharacterFull league name (e.g., "NCAA Football").
league_display_shortcharacterShort league label used in navigation and compact UI (e.g., "NCAA FB").
league_short_namecharacterLeague short name.
league_sportcharacterSport the league belongs to (e.g., "football").
league_aliascharacterJSON-encoded Yahoo alias object for the league, carrying its site URL and path.
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
special_event_typecharacterMarker identifying a special framing for the game, such as a bowl game or neutral-site showcase.
away_team_idcharacterUnique identifier for the away team.
basic_away_team_abbreviationcharacterShort abbreviation for the away team used in compact displays, as carried on the boxscore's lightweight team node.
basic_away_team_display_namecharacterDisplay name of the away team as shown on the scoreboard, as carried on the boxscore's lightweight team node.
basic_away_team_team_idcharacterYahoo composite team id of the away team (e.g., "ncaaf.t.29"), as carried on the boxscore's lightweight team node.
basic_away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds, as carried on the boxscore's lightweight team node.
basic_away_team_team_logocharacterJSON-encoded image node for the away team's standard logo, as carried on the boxscore's lightweight team node.
basic_away_team_playoff_seedscharacterJSON-encoded list of the away team's playoff-seed entries for the season, as carried on the boxscore's lightweight team node.
basic_away_team_nicknamecharacterNickname or mascot of the away team, as carried on the boxscore's lightweight team node.
basic_away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
basic_away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
away_team_full_namecharacterFull away team name (e.g. 'Las Vegas Aces').
away_team_team_idcharacterYahoo composite team id of the away team (e.g., "ncaaf.t.29").
away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash.
away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash.
away_team_display_namecharacterAway team full display name; team_detail = TRUE only.
away_team_abbreviationcharacterAway team abbreviation; team_detail = TRUE only.
away_team_locationcharacterAway team's team location.
away_team_aliascharacterJSON-encoded Yahoo alias object for the away team, carrying its site URL and path.
away_team_nicknamecharacterAway team nickname label; team_detail = TRUE only.
away_team_last_gamescharacterJSON-encoded list of the away team's most recently completed games.
away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds.
away_team_team_logocharacterJSON-encoded image node for the away team's standard logo.
away_team_team_logo_white_largecharacterJSON-encoded image node for the large-format white knockout away-team logo.
away_team_team_logo_largecharacterJSON-encoded image node for the large-format away-team logo.
away_team_team_standingscharacterJSON-encoded standings node for the away team, carrying its record, position and streak.
away_team_gametime_ticket_urlcharacterGametime affiliate ticket-purchase URL for the away team's games.
away_team_injured_playerscharacterJSON-encoded list of away-team players currently carrying an injury designation.
away_team_rank_pollscharacterJSON-encoded list of the poll rankings the away team currently holds.
away_team_playoff_seedscharacterJSON-encoded list of the away team's playoff-seed entries for the season.
away_team_recordcharacterAway team's win-loss record.
home_team_idcharacterUnique identifier for the home team.
basic_home_team_abbreviationcharacterShort abbreviation for the home team used in compact displays, as carried on the boxscore's lightweight team node.
basic_home_team_display_namecharacterDisplay name of the home team as shown on the scoreboard, as carried on the boxscore's lightweight team node.
basic_home_team_team_idcharacterYahoo composite team id of the home team (e.g., "ncaaf.t.29"), as carried on the boxscore's lightweight team node.
basic_home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds, as carried on the boxscore's lightweight team node.
basic_home_team_team_logocharacterJSON-encoded image node for the home team's standard logo, as carried on the boxscore's lightweight team node.
basic_home_team_playoff_seedscharacterJSON-encoded list of the home team's playoff-seed entries for the season, as carried on the boxscore's lightweight team node.
basic_home_team_nicknamecharacterNickname or mascot of the home team, as carried on the boxscore's lightweight team node.
basic_home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
basic_home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
home_team_full_namecharacterFull home team name (e.g. 'Las Vegas Aces').
home_team_team_idcharacterYahoo composite team id of the home team (e.g., "ncaaf.t.29").
home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash.
home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash.
home_team_display_namecharacterHome team full display name; team_detail = TRUE only.
home_team_abbreviationcharacterHome team abbreviation; team_detail = TRUE only.
home_team_locationcharacterHome team's team location.
home_team_aliascharacterJSON-encoded Yahoo alias object for the home team, carrying its site URL and path.
home_team_nicknamecharacterHome team nickname label; team_detail = TRUE only.
home_team_last_gamescharacterJSON-encoded list of the home team's most recently completed games.
home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds.
home_team_team_logocharacterJSON-encoded image node for the home team's standard logo.
home_team_team_logo_white_largecharacterJSON-encoded image node for the large-format white knockout home-team logo.
home_team_team_logo_largecharacterJSON-encoded image node for the large-format home-team logo.
home_team_team_standingscharacterJSON-encoded standings node for the home team, carrying its record, position and streak.
home_team_gametime_ticket_urlcharacterGametime affiliate ticket-purchase URL for the home team's games.
home_team_injured_playerscharacterJSON-encoded list of home-team players currently carrying an injury designation.
home_team_rank_pollscharacterJSON-encoded list of the poll rankings the home team currently holds.
home_team_playoff_seedscharacterJSON-encoded list of the home team's playoff-seed entries for the season.
home_team_recordcharacterHome team's win-loss record.
away_scoreintegerAway team score at the time of the play.
home_scoreintegerHome team score at the time of the play.
start_timecharacterKickoff time in eastern time zone.
start_datecharacterStart date (YYYY-MM-DD).
if_necessarycharacterIf necessary.
statuscharacterStatus label.
status_display_namecharacterShort game or event status as shown on the scoreboard (e.g., "Final", "12:00 pm ET").
full_status_display_namecharacterLong-form game status label including overtime and date context (e.g., "Final/OT").
seasonintegerSeason year.
season_phasecharacterPhase of the season the game falls in (e.g., "season.phase.season").
time_leftcharacterTime left.
is_halftimelogicalFlag indicating that the game is currently stopped at halftime.
tournament_idcharacterESPN tournament identifier.
weekintegerWeek number.
playoff_seriescharacterJSON-encoded playoff-series node the game belongs to.
winning_team_idcharacterComposite Yahoo team id of the side that won the game (e.g., "ncaaf.t.29").
broadcast_channelscharacterJSON-encoded list of the channels broadcasting the event.
news_break_subtextcharacterSecondary line of the news-break banner attached to the game.
news_break_titlecharacterHeadline of the news-break banner attached to the game.
news_break_urlcharacterURL of the article behind the game's news-break banner.
news_break_uuidcharacterYahoo content UUID of the article behind the game's news-break banner.
briefcharacterShort editorial blurb summarizing the game's state or result.
event_extended_display_namecharacterLong-form event title used for marquee games, such as a bowl or rivalry name.
game_odds_summary_pregame_odds_displaycharacterPregame line formatted for display (e.g., "MICH -6.5").
game_odds_summary_favorite_idcharacterYahoo composite team id of the pregame betting favorite.
game_odds_summary_underdog_team_predicted_scorecharacterProjected final score for the betting underdog implied by the pregame line.
game_odds_summary_favorite_team_predicted_scorecharacterProjected final score for the betting favorite implied by the pregame line.
betscharacterJSON-encoded list of the betting markets offered on the event (spread, moneyline and total).
partial_game_betscharacterJSON-encoded list of in-game betting markets covering only part of the game, such as halves or quarters.
venue_display_namecharacterName of the venue hosting the event.
venue_citycharacterVenue city.
venue_cover_typecharacterWhether the venue is open-air, domed or fitted with a retractable roof.
venue_statecharacterVenue state / region.
venue_venue_idcharacterYahoo identifier of the venue hosting the event.
venue_countrycharacterCountry the venue is located in.
tv_coveragecharacterNetwork carrying the game, as a short broadcast abbreviation (e.g., "CBS", "ESPN").
weathercharacterString describing the weather including temperature, humidity and wind (direction and speed). Doesn't change during the game!
regular_season_series_series_scorecharacterFormatted head-to-head record for the regular-season series between the two teams (e.g., "1-1").
regular_season_series_gamescharacterJSON-encoded list of the games making up the regular-season series between the two teams.
regular_season_series_first_home_team_idcharacterYahoo team id of the side that hosted the first meeting of the regular-season series.
regular_season_series_first_home_team_winscharacterWins recorded across the regular-season series by the side that hosted the first meeting.
regular_season_series_first_away_team_idcharacterYahoo team id of the side that visited in the first meeting of the regular-season series.
regular_season_series_first_away_team_winscharacterWins recorded across the regular-season series by the side that visited in the first meeting.
regular_season_series_winning_team_idcharacterYahoo team id of the side leading, or having won, the regular-season series.
game_win_probability_time_line_win_probability_timelinecharacterJSON-encoded series of win-probability observations across the course of the game.
current_period_short_display_namecharacterAbbreviated label for the period in progress (e.g., "4th").
current_period_periodcharacterOrdinal number of the period currently in progress within the game.
current_period_display_namecharacterFull label for the period in progress (e.g., "4th Quarter").
current_period_overtimecharacterFlag indicating that the period in progress is an overtime period.
regulation_periodscharacterRegulation periods.
away_team_lineupcharacterJSON-encoded starting lineup fielded by the away team.
home_team_lineupcharacterJSON-encoded starting lineup fielded by the home team.
game_ticket_pricecharacterLowest available ticket price for the game from the Gametime affiliate feed, in US dollars.
gametime_ticket_urlcharacterGametime affiliate ticket-purchase URL for the event or team.
game_coveragecharacterJSON-encoded node describing which live feeds Yahoo carries for the game.
downcharacterThe down for the given play.
distancecharacterDistance value (in feet for shot data; otherwise context-dependent).
field_positioncharacterBall spot expressed on Yahoo's 0-100 field scale, measured toward the offense's target goal line.
field_position_display_namecharacterBall spot rendered the way a scoreboard shows it (e.g., "MICH 35").
home_timeouts_remainingintegerNumeric timeouts remaining in the half for the home team.
away_timeouts_remainingintegerNumeric timeouts remaining in the half for the away team.
timeouts_grantedintegerNumber of timeouts granted so far in the current period.
team_possessing_ballcharacterYahoo team id of the side currently possessing the ball.
away_line_scorecharacterJSON-encoded per-period scoring line for the away team.
home_line_scorecharacterJSON-encoded per-period scoring line for the home team.
first_playcharacterJSON-encoded first play of the game or of the current period.
last_playcharacterFree-text description of the most recent play.
recap_videoscharacterJSON-encoded list of recap videos published for the game.
play_by_playcharacterJSON-encoded data-island pointer to the game's play-by-play collection in the same editorial payload.
drivescharacterJSON-encoded data-island pointer to the game's drive collection; football only.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_boxscore()

Last validated n/a.

yahoo_playbook_boxscore_poll​

Yahoo shangrila persisted query playbookBoxscorePoll -> tables: football_positions, football_stat_types, games

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscorePoll

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscorePoll

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
standingsSeasonPhasesstandings_season_phasesYstandingsSeasonPhases query parameter.
isBaseballis_baseballYisBaseball query parameter.
isFootballis_footballYisFootball query parameter.
isProBasketballis_pro_basketballYisProBasketball query parameter.
isCollegeBasketballis_college_basketballYisCollegeBasketball query parameter.
isHockeyis_hockeyYisHockey query parameter.
isSocceris_soccerYisSoccer query parameter.
eventStateevent_stateYeventState query parameter.

Returns​

return_parsed=True (default) — A dict of polars/pandas DataFrames keyed by the payload's data collections (representative columns below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys). football_positions

col_nametypedescription
position_idcharacterUnique position identifier.
namecharacterDisplay name.
abbreviationcharacterShort abbreviation.

football_stat_types

col_nametypedescription
stat_idcharacterYahoo stat-type key the leader board is built on (e.g., "PASSING_YARDS", "GAMES_RUSHING").
abbreviationcharacterShort abbreviation.
display_namecharacterDisplay name.
short_namecharacterShort display name.
context_agnostic_abbreviationcharacterAbbreviation for the statistic that still reads correctly outside its category (e.g., "PassYds" where the in-category abbreviation is only "Yds").
sort_ordercharacterDisplay sort order for the sport.

games

col_nametypedescription
game_idcharacterUnique game identifier.
display_namecharacterDisplay name.
seasonintegerSeason year.
league_namecharacterLeague name.
league_full_namecharacterFull league name (e.g., "NCAA Football").
sport_namecharacterSport name (e.g., Major League Baseball).
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
away_scoreintegerAway team score at the time of the play.
basic_away_team_abbreviationcharacterShort abbreviation for the away team used in compact displays, as carried on the boxscore's lightweight team node.
basic_away_team_display_namecharacterDisplay name of the away team as shown on the scoreboard, as carried on the boxscore's lightweight team node.
basic_away_team_team_idcharacterYahoo composite team id of the away team (e.g., "ncaaf.t.29"), as carried on the boxscore's lightweight team node.
basic_away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds, as carried on the boxscore's lightweight team node.
basic_away_team_team_logocharacterJSON-encoded image node for the away team's standard logo, as carried on the boxscore's lightweight team node.
basic_away_team_playoff_seedscharacterJSON-encoded list of the away team's playoff-seed entries for the season, as carried on the boxscore's lightweight team node.
basic_away_team_nicknamecharacterNickname or mascot of the away team, as carried on the boxscore's lightweight team node.
basic_away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
basic_away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
away_team_full_namecharacterFull away team name (e.g. 'Las Vegas Aces').
away_team_team_idcharacterYahoo composite team id of the away team (e.g., "ncaaf.t.29").
away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash.
away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash.
away_team_display_namecharacterAway team full display name; team_detail = TRUE only.
away_team_abbreviationcharacterAway team abbreviation; team_detail = TRUE only.
away_team_locationcharacterAway team's team location.
away_team_aliascharacterJSON-encoded Yahoo alias object for the away team, carrying its site URL and path.
away_team_nicknamecharacterAway team nickname label; team_detail = TRUE only.
away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds.
away_team_team_logocharacterJSON-encoded image node for the away team's standard logo.
away_team_team_logo_white_largecharacterJSON-encoded image node for the large-format white knockout away-team logo.
away_team_team_logo_largecharacterJSON-encoded image node for the large-format away-team logo.
away_team_team_standingscharacterJSON-encoded standings node for the away team, carrying its record, position and streak.
away_team_rank_pollscharacterJSON-encoded list of the poll rankings the away team currently holds.
away_team_playoff_seedscharacterJSON-encoded list of the away team's playoff-seed entries for the season.
away_team_recordcharacterAway team's win-loss record.
away_team_idcharacterUnique identifier for the away team.
betscharacterJSON-encoded list of the betting markets offered on the event (spread, moneyline and total).
partial_game_betscharacterJSON-encoded list of in-game betting markets covering only part of the game, such as halves or quarters.
briefcharacterShort editorial blurb summarizing the game's state or result.
broadcast_channelscharacterJSON-encoded list of the channels broadcasting the event.
home_scoreintegerHome team score at the time of the play.
home_team_full_namecharacterFull home team name (e.g. 'Las Vegas Aces').
home_team_team_idcharacterYahoo composite team id of the home team (e.g., "ncaaf.t.29").
home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash.
home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash.
home_team_display_namecharacterHome team full display name; team_detail = TRUE only.
home_team_abbreviationcharacterHome team abbreviation; team_detail = TRUE only.
home_team_locationcharacterHome team's team location.
home_team_aliascharacterJSON-encoded Yahoo alias object for the home team, carrying its site URL and path.
home_team_nicknamecharacterHome team nickname label; team_detail = TRUE only.
home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds.
home_team_team_logocharacterJSON-encoded image node for the home team's standard logo.
home_team_team_logo_white_largecharacterJSON-encoded image node for the large-format white knockout home-team logo.
home_team_team_logo_largecharacterJSON-encoded image node for the large-format home-team logo.
home_team_team_standingscharacterJSON-encoded standings node for the home team, carrying its record, position and streak.
home_team_rank_pollscharacterJSON-encoded list of the poll rankings the home team currently holds.
home_team_playoff_seedscharacterJSON-encoded list of the home team's playoff-seed entries for the season.
home_team_recordcharacterHome team's win-loss record.
home_team_idcharacterUnique identifier for the home team.
basic_home_team_abbreviationcharacterShort abbreviation for the home team used in compact displays, as carried on the boxscore's lightweight team node.
basic_home_team_display_namecharacterDisplay name of the home team as shown on the scoreboard, as carried on the boxscore's lightweight team node.
basic_home_team_team_idcharacterYahoo composite team id of the home team (e.g., "ncaaf.t.29"), as carried on the boxscore's lightweight team node.
basic_home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds, as carried on the boxscore's lightweight team node.
basic_home_team_team_logocharacterJSON-encoded image node for the home team's standard logo, as carried on the boxscore's lightweight team node.
basic_home_team_playoff_seedscharacterJSON-encoded list of the home team's playoff-seed entries for the season, as carried on the boxscore's lightweight team node.
basic_home_team_nicknamecharacterNickname or mascot of the home team, as carried on the boxscore's lightweight team node.
basic_home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
basic_home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash, as carried on the boxscore's lightweight team node.
start_datecharacterStart date (YYYY-MM-DD).
start_timecharacterKickoff time in eastern time zone.
statuscharacterStatus label.
status_display_namecharacterShort game or event status as shown on the scoreboard (e.g., "Final", "12:00 pm ET").
full_status_display_namecharacterLong-form game status label including overtime and date context (e.g., "Final/OT").
time_leftcharacterTime left.
venue_display_namecharacterName of the venue hosting the event.
venue_citycharacterVenue city.
venue_cover_typecharacterWhether the venue is open-air, domed or fitted with a retractable roof.
venue_statecharacterVenue state / region.
venue_venue_idcharacterYahoo identifier of the venue hosting the event.
venue_countrycharacterCountry the venue is located in.
weathercharacterString describing the weather including temperature, humidity and wind (direction and speed). Doesn't change during the game!
game_win_probability_time_line_win_probability_timelinecharacterJSON-encoded series of win-probability observations across the course of the game.
playoff_seriescharacterJSON-encoded playoff-series node the game belongs to.
regular_season_series_gamescharacterJSON-encoded list of the games making up the regular-season series between the two teams.
is_halftimelogicalFlag indicating that the game is currently stopped at halftime.
regulation_periodscharacterRegulation periods.
current_period_short_display_namecharacterAbbreviated label for the period in progress (e.g., "4th").
current_period_periodcharacterOrdinal number of the period currently in progress within the game.
current_period_display_namecharacterFull label for the period in progress (e.g., "4th Quarter").
current_period_overtimecharacterFlag indicating that the period in progress is an overtime period.
away_team_lineupcharacterJSON-encoded starting lineup fielded by the away team.
home_team_lineupcharacterJSON-encoded starting lineup fielded by the home team.
winning_team_idcharacterComposite Yahoo team id of the side that won the game (e.g., "ncaaf.t.29").
game_coveragecharacterJSON-encoded node describing which live feeds Yahoo carries for the game.
away_line_scorecharacterJSON-encoded per-period scoring line for the away team.
away_timeouts_remainingintegerNumeric timeouts remaining in the half for the away team.
downcharacterThe down for the given play.
distancecharacterDistance value (in feet for shot data; otherwise context-dependent).
field_position_display_namecharacterBall spot rendered the way a scoreboard shows it (e.g., "MICH 35").
field_positioncharacterBall spot expressed on Yahoo's 0-100 field scale, measured toward the offense's target goal line.
home_line_scorecharacterJSON-encoded per-period scoring line for the home team.
home_timeouts_remainingintegerNumeric timeouts remaining in the half for the home team.
team_possessing_ballcharacterYahoo team id of the side currently possessing the ball.
drivescharacterJSON-encoded data-island pointer to the game's drive collection; football only.
first_playcharacterJSON-encoded first play of the game or of the current period.
play_by_playcharacterJSON-encoded data-island pointer to the game's play-by-play collection in the same editorial payload.
timeouts_grantedintegerNumber of timeouts granted so far in the current period.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_boxscore_poll()

Last validated n/a.

yahoo_playbook_boxscore_social_share​

Yahoo shangrila persisted query playbookBoxscoreSocialShare -> one row per games entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscoreSocialShare

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookBoxscoreSocialShare

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
game_idcharacterUnique game identifier.
away_team_activecharacterWhether the away team is active.
away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash.
away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash.
away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds.
away_team_team_logocharacterJSON-encoded image node for the away team's standard logo.
home_team_activecharacterWhether the home team is active.
home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash.
home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash.
home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds.
home_team_team_logocharacterJSON-encoded image node for the home team's standard logo.
league_league_logocharacterJSON-encoded image node for the league's logo.
start_timecharacterKickoff time in eastern time zone.
start_datecharacterStart date (YYYY-MM-DD).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_boxscore_social_share()

Last validated n/a.

yahoo_playbook_combat_match​

Yahoo shangrila persisted query playbookCombatMatch -> one row per games entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookCombatMatch

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookCombatMatch

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
imageHeightimage_heightYimageHeight query parameter.
imageWidthimage_widthYimageWidth query parameter.
headshotHeightheadshot_heightYheadshotHeight query parameter.
headshotWidthheadshot_widthYheadshotWidth query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_yahoo_shangrila); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_combat_match()

Last validated n/a.

yahoo_playbook_game​

Yahoo shangrila persisted query playbookGame -> one row per games entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGame

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGame

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
imageHeightimage_heightYimageHeight query parameter.
imageWidthimage_widthYimageWidth query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
game_idcharacterUnique game identifier.
display_namecharacterDisplay name.
league_namecharacterLeague name.
league_full_namecharacterFull league name (e.g., "NCAA Football").
league_display_shortcharacterShort league label used in navigation and compact UI (e.g., "NCAA FB").
league_short_namecharacterLeague short name.
league_sportcharacterSport the league belongs to (e.g., "football").
league_aliascharacterJSON-encoded Yahoo alias object for the league, carrying its site URL and path.
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
away_team_idcharacterUnique identifier for the away team.
away_team_full_namecharacterFull away team name (e.g. 'Las Vegas Aces').
away_team_team_idcharacterYahoo composite team id of the away team (e.g., "ncaaf.t.29").
away_team_primary_colorcharacterPrimary brand color of the away team, as a hex RGB string without the leading hash.
away_team_secondary_colorcharacterSecondary brand color of the away team, as a hex RGB string without the leading hash.
away_team_display_namecharacterAway team full display name; team_detail = TRUE only.
away_team_abbreviationcharacterAway team abbreviation; team_detail = TRUE only.
away_team_locationcharacterAway team's team location.
away_team_aliascharacterJSON-encoded Yahoo alias object for the away team, carrying its site URL and path.
away_team_nicknamecharacterAway team nickname label; team_detail = TRUE only.
away_team_last_gamescharacterJSON-encoded list of the away team's most recently completed games.
away_team_team_logo_whitecharacterJSON-encoded image node for the away team's white knockout logo, used on dark backgrounds.
away_team_team_logocharacterJSON-encoded image node for the away team's standard logo.
away_team_team_standingscharacterJSON-encoded standings node for the away team, carrying its record, position and streak.
away_team_playerscharacterJSON-encoded roster of away-team players attached to the game.
away_team_rank_pollscharacterJSON-encoded list of the poll rankings the away team currently holds.
away_team_playoff_seedscharacterJSON-encoded list of the away team's playoff-seed entries for the season.
home_team_idcharacterUnique identifier for the home team.
home_team_full_namecharacterFull home team name (e.g. 'Las Vegas Aces').
home_team_team_idcharacterYahoo composite team id of the home team (e.g., "ncaaf.t.29").
home_team_primary_colorcharacterPrimary brand color of the home team, as a hex RGB string without the leading hash.
home_team_secondary_colorcharacterSecondary brand color of the home team, as a hex RGB string without the leading hash.
home_team_display_namecharacterHome team full display name; team_detail = TRUE only.
home_team_abbreviationcharacterHome team abbreviation; team_detail = TRUE only.
home_team_locationcharacterHome team's team location.
home_team_aliascharacterJSON-encoded Yahoo alias object for the home team, carrying its site URL and path.
home_team_nicknamecharacterHome team nickname label; team_detail = TRUE only.
home_team_last_gamescharacterJSON-encoded list of the home team's most recently completed games.
home_team_team_logo_whitecharacterJSON-encoded image node for the home team's white knockout logo, used on dark backgrounds.
home_team_team_logocharacterJSON-encoded image node for the home team's standard logo.
home_team_team_standingscharacterJSON-encoded standings node for the home team, carrying its record, position and streak.
home_team_playerscharacterJSON-encoded roster of home-team players attached to the game.
home_team_rank_pollscharacterJSON-encoded list of the poll rankings the home team currently holds.
home_team_playoff_seedscharacterJSON-encoded list of the home team's playoff-seed entries for the season.
away_scoreintegerAway team score at the time of the play.
home_scoreintegerHome team score at the time of the play.
start_timecharacterKickoff time in eastern time zone.
start_datecharacterStart date (YYYY-MM-DD).
if_necessarycharacterIf necessary.
statuscharacterStatus label.
status_display_namecharacterShort game or event status as shown on the scoreboard (e.g., "Final", "12:00 pm ET").
seasonintegerSeason year.
season_phasecharacterPhase of the season the game falls in (e.g., "season.phase.season").
time_leftcharacterTime left.
tournament_idcharacterESPN tournament identifier.
playoff_seriescharacterJSON-encoded playoff-series node the game belongs to.
winning_team_idcharacterComposite Yahoo team id of the side that won the game (e.g., "ncaaf.t.29").
broadcast_channelscharacterJSON-encoded list of the channels broadcasting the event.
news_break_subtextcharacterSecondary line of the news-break banner attached to the game.
news_break_titlecharacterHeadline of the news-break banner attached to the game.
news_break_urlcharacterURL of the article behind the game's news-break banner.
news_break_uuidcharacterYahoo content UUID of the article behind the game's news-break banner.
briefcharacterShort editorial blurb summarizing the game's state or result.
betscharacterJSON-encoded list of the betting markets offered on the event (spread, moneyline and total).
venue_display_namecharacterName of the venue hosting the event.
venue_citycharacterVenue city.
venue_cover_typecharacterWhether the venue is open-air, domed or fitted with a retractable roof.
venue_statecharacterVenue state / region.
venue_venue_idcharacterYahoo identifier of the venue hosting the event.
venue_countrycharacterCountry the venue is located in.
tv_coveragecharacterNetwork carrying the game, as a short broadcast abbreviation (e.g., "CBS", "ESPN").
weathercharacterString describing the weather including temperature, humidity and wind (direction and speed). Doesn't change during the game!
away_line_scorecharacterJSON-encoded per-period scoring line for the away team.
current_period_periodcharacterOrdinal number of the period currently in progress within the game.
field_positioncharacterBall spot expressed on Yahoo's 0-100 field scale, measured toward the offense's target goal line.
field_position_display_namecharacterBall spot rendered the way a scoreboard shows it (e.g., "MICH 35").
home_line_scorecharacterJSON-encoded per-period scoring line for the home team.
home_timeouts_remainingintegerNumeric timeouts remaining in the half for the home team.
away_timeouts_remainingintegerNumeric timeouts remaining in the half for the away team.
last_playcharacterFree-text description of the most recent play.
game_stat_leaderscharacterJSON-encoded pointer to the per-category statistical leaders for the game.
team_possessing_ballcharacterYahoo team id of the side currently possessing the ball.
recap_videoscharacterJSON-encoded list of recap videos published for the game.
weekintegerWeek number.
play_by_playcharacterJSON-encoded data-island pointer to the game's play-by-play collection in the same editorial payload.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_game()

Last validated n/a.

yahoo_playbook_game_odds_poll​

Yahoo shangrila persisted query playbookGameOddsPoll -> one row per games entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGameOddsPoll

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGameOddsPoll

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
eventStateevent_stateYeventState query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
game_idcharacterUnique game identifier.
betscharacterJSON-encoded list of the betting markets offered on the event (spread, moneyline and total).
partial_game_betscharacterJSON-encoded list of in-game betting markets covering only part of the game, such as halves or quarters.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_game_odds_poll()

Last validated n/a.

yahoo_playbook_golf_tournament​

Yahoo shangrila persisted query playbookGolfTournament (response body not captured; shape unknown)

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGolfTournament

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookGolfTournament

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
seasonseasonYSeason year (e.g. 2024).
countcountYcount query parameter.
statIdsstat_idsYstatIds query parameter.
showHoleResultsshow_hole_resultsYshowHoleResults query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_yahoo_shangrila); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_golf_tournament()

Last validated n/a.

yahoo_playbook_league_odds​

Yahoo shangrila persisted query playbookLeagueOdds -> one row per leagues entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookLeagueOdds

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookLeagueOdds

API ParameterPythonPatternRequiredNullableDescription
leagueleagueYleague query parameter.
datesdatesYDate or date range filter (YYYYMMDD or YYYYMMDD-YYYYMMDD).
countcountYcount query parameter.
startTimeFilterstart_time_filterYstartTimeFilter query parameter.
rangeStartDaterange_start_dateYrangeStartDate query parameter.
rangeEndDaterange_end_dateYrangeEndDate query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
ncaaf_gamescharacterJSON-encoded list of NCAAF game nodes carrying the pick or odds distribution for the slate.
conferencescharacterJSON-encoded list of the league's conference nodes, each carrying an id, a name and its member teams.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_league_odds()

Last validated n/a.

yahoo_playbook_player​

Yahoo shangrila persisted query playbookPlayer -> one row per players entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookPlayer

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookPlayer

API ParameterPythonPatternRequiredNullableDescription
playerIdplayer_idYplayerId query parameter.
seasonPhasesseason_phasesYseasonPhases query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
player_idcharacterUnique player identifier.
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
alias_subpagescharacterJSON-encoded list of subpage aliases (roster, schedule, stats) available beneath the entity's Yahoo page.
sport_namecharacterSport name (e.g., Major League Baseball).
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
display_namecharacterDisplay name.
collegecharacterOfficial college (usually the last one attended)
birth_statecharacterBirth state / region.
birth_citycharacterBirth city.
birth_countrycharacterPlayer birth country.
birth_datecharacterDate of birth (YYYY-MM-DD).
heightintegerPlayer height (string e.g. '6-2' or inches).
display_heightcharacterPlayer height in display format (e.g. '6-2').
weightintegerPlayer weight in pounds.
statuscharacterStatus label.
activelogicalTRUE if the row represents an active record (player / team / season).
suggested_headshotcharacterJSON-encoded image node for the headshot Yahoo recommends for this player.
uniform_numbercharacterJersey number the player wears for the team.
positionscharacterPositions.
team_idcharacterUnique team identifier.
team_team_idcharacterUnique identifier for team team.
team_display_namecharacterFull team display name.
team_full_namecharacterFull team name.
team_aliascharacterJSON-encoded alias object for the entity's team, carrying its Yahoo page URL and path.
team_team_logocharacterJSON-encoded image node for the team's standard logo.
team_team_logo_whitecharacterJSON-encoded image node for the team's white knockout logo.
team_primary_colorcharacterPrimary brand color of the entity's team, as a hex RGB string without the leading hash.
team_secondary_colorcharacterSecondary brand color of the entity's team, as a hex RGB string without the leading hash.
draft_positioncharacterRound and pick at which the player was drafted, left null for undrafted players.
player_seasonscharacterJSON-encoded list of the seasons for which Yahoo carries data on this player.
header_stats_passingcharacterJSON-encoded headline passing statistics shown at the top of the player's page.
season_stats_passingcharacterJSON-encoded full-season passing statistics for the player.
header_stats_rushingcharacterJSON-encoded headline rushing statistics shown at the top of the player's page.
season_stats_rushingcharacterJSON-encoded full-season rushing statistics for the player.
header_stats_receivingcharacterJSON-encoded headline receiving statistics shown at the top of the player's page.
season_stats_receivingcharacterJSON-encoded full-season receiving statistics for the player.
header_stats_defensecharacterJSON-encoded headline defensive statistics shown at the top of the player's page.
season_stats_defensecharacterJSON-encoded full-season defensive statistics for the player.
header_stats_kickingcharacterJSON-encoded headline kicking statistics shown at the top of the player's page.
season_stats_kickingcharacterJSON-encoded full-season kicking statistics for the player.
header_stats_puntingcharacterJSON-encoded headline punting statistics shown at the top of the player's page.
season_stats_puntingcharacterJSON-encoded full-season punting statistics for the player.
earningscharacterPrize money the player has earned over the covered period, in US dollars.
first_yearcharacterFirst season in which the player appeared in this league.
last_yearintegerMost recent season in which the player appeared in this league.
injurycharacterInjury (body part / description).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_player()

Last validated n/a.

yahoo_playbook_player_social_share​

Yahoo shangrila persisted query playbookPlayerSocialShare -> one row per players entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookPlayerSocialShare

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookPlayerSocialShare

API ParameterPythonPatternRequiredNullableDescription
playerIdplayer_idYplayerId query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
sport_namecharacterSport name (e.g., Major League Baseball).
short_display_namecharacterShort display name.
suggested_headshotcharacterJSON-encoded image node for the headshot Yahoo recommends for this player.
team_primary_colorcharacterPrimary brand color of the entity's team, as a hex RGB string without the leading hash.
team_secondary_colorcharacterSecondary brand color of the entity's team, as a hex RGB string without the leading hash.
team_leaguecharacterJSON-encoded league node for the entity's team.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_player_social_share()

Last validated n/a.

yahoo_playbook_race​

Yahoo shangrila persisted query playbookRace -> one row per games entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookRace

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookRace

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYgameId query parameter.
playerImageHeightplayer_image_heightYplayerImageHeight query parameter.
playerImageWidthplayer_image_widthYplayerImageWidth query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_yahoo_shangrila); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_race()

Last validated n/a.

yahoo_playbook_team​

Yahoo shangrila persisted query playbookTeam -> tables: teams, leagues

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeam

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeam

API ParameterPythonPatternRequiredNullableDescription
teamIdteam_idYteamId query parameter.
imageHeightimage_heightYimageHeight query parameter.
imageWidthimage_widthYimageWidth query parameter.
leagueShortNameleague_short_nameYleagueShortName query parameter.
disableConferencedisable_conferenceYdisableConference query parameter.
disableDivisiondisable_divisionYdisableDivision query parameter.

Returns​

return_parsed=True (default) — A dict of polars/pandas DataFrames keyed by the payload's data collections (representative columns below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys). teams

col_nametypedescription
sport_sport_idcharacterYahoo identifier of the sport the league belongs to.
sport_namecharacterSport name (e.g., Major League Baseball).
league_namecharacterLeague name.
league_short_namecharacterLeague short name.
league_current_season_phasecharacterPhase the league's season is currently in (e.g., "season.phase.season").
team_idcharacterUnique team identifier.
conference_idintegerConference identifier.
full_namecharacterPlayer's full name.
display_namecharacterDisplay name.
locationcharacterEither Home if the home team is playing in their home stadium, or Neutral if the game is being played at a neutral location. This still shows as Home for games between the Giants and Jets even though they share the same home stadium.
nicknamecharacterTeam or athlete nickname.
primary_colorcharacterPrimary team color (hex).
secondary_colorcharacterSecondary team color (hex).
team_logo_white_urlcharacterAbsolute URL of the team's white knockout logo, the variant used on dark backgrounds.
team_logo_urlcharacterAbsolute URL of the team's standard logo image on Yahoo's image CDN.
alias_navigation_linkscharacterJSON-encoded map of navigation links (scores, standings, teams) hanging off the entity's Yahoo alias.
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
alias_pathcharacterSite-relative path portion of the entity's Yahoo alias (e.g., "/ncaaf/teams/tcu/").
last_gamescharacterJSON-encoded list of the team's most recently completed games, used for form and streak displays.
next_gamescharacterJSON-encoded list of the team's next scheduled games.
division_namecharacterDivision name.
division_teamscharacterJSON-encoded list of the teams that make up the division.
conference_short_namecharacterConference short name (e.g. 'ACC').
conference_namecharacterFull conference name.
conference_conference_idcharacterYahoo numeric identifier of the conference carried on the team's conference node.
conference_team_standingscharacterJSON-encoded standings rows for every team in the conference.
conference_abbreviationcharacterConference abbreviation.
team_standings_teamcharacterJSON-encoded team node the standings row describes.
team_standings_conference_idcharacterYahoo numeric conference id for the team's standings row.
team_standings_conferencecharacterJSON-encoded conference node the standings row sits under.
team_standings_display_namecharacterDisplay name of the team on its standings row.
team_standings_full_namecharacterFull name of the team on its standings row.
team_standings_positioncharacterRank of the team within the standings grouping it is listed in.
team_standings_sequencecharacterTie-break ordering value Yahoo uses to sequence teams holding identical records.
team_standings_team_recordcharacterFormatted overall record for the team (e.g., "8-2").
team_standings_conference_positioncharacterRank of the team within its conference standings.
team_standings_points_forcharacterPoints the team has scored over the standings period.
team_standings_points_againstcharacterPoints the team has allowed over the standings period.
team_standings_clinched_playoffcharacterFlag indicating that the team has clinched a playoff berth.
team_standings_clinched_divisioncharacterFlag indicating that the team has clinched its division.
team_standings_streak_displaycharacterFormatted current streak for the team (e.g., "W3", "L2").
gametime_ticket_urlcharacterGametime affiliate ticket-purchase URL for the event or team.
football_team_season_statscharacterJSON-encoded team-level season statistics for the team's football side.
football_player_season_statscharacterJSON-encoded per-player season statistics for the team's football roster.
injured_playerscharacterJSON-encoded list of the team's players currently carrying an injury designation.
transactionscharacterJSON-encoded list of the team's roster transactions over the requested window.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_team()

Last validated n/a.

yahoo_playbook_team_basic​

Yahoo shangrila persisted query playbookTeamBasic -> one row per teams entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeamBasic

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeamBasic

API ParameterPythonPatternRequiredNullableDescription
teamIdteam_idYteamId query parameter.
imageHeightimage_heightYimageHeight query parameter.
imageWidthimage_widthYimageWidth query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
sport_sport_idcharacterYahoo identifier of the sport the league belongs to.
sport_namecharacterSport name (e.g., Major League Baseball).
league_namecharacterLeague name.
league_short_namecharacterLeague short name.
league_current_season_phasecharacterPhase the league's season is currently in (e.g., "season.phase.season").
team_idcharacterUnique team identifier.
conference_idintegerConference identifier.
full_namecharacterPlayer's full name.
display_namecharacterDisplay name.
locationcharacterEither Home if the home team is playing in their home stadium, or Neutral if the game is being played at a neutral location. This still shows as Home for games between the Giants and Jets even though they share the same home stadium.
nicknamecharacterTeam or athlete nickname.
primary_colorcharacterPrimary team color (hex).
secondary_colorcharacterSecondary team color (hex).
team_logo_white_urlcharacterAbsolute URL of the team's white knockout logo, the variant used on dark backgrounds.
team_logo_urlcharacterAbsolute URL of the team's standard logo image on Yahoo's image CDN.
alias_navigation_linkscharacterJSON-encoded map of navigation links (scores, standings, teams) hanging off the entity's Yahoo alias.
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
alias_pathcharacterSite-relative path portion of the entity's Yahoo alias (e.g., "/ncaaf/teams/tcu/").
last_gamescharacterJSON-encoded list of the team's most recently completed games, used for form and streak displays.
next_gamescharacterJSON-encoded list of the team's next scheduled games.
division_namecharacterDivision name.
conference_short_namecharacterConference short name (e.g. 'ACC').
conference_namecharacterFull conference name.
conference_conference_idcharacterYahoo numeric identifier of the conference carried on the team's conference node.
conference_abbreviationcharacterConference abbreviation.
team_standings_teamcharacterJSON-encoded team node the standings row describes.
team_standings_conference_idcharacterYahoo numeric conference id for the team's standings row.
team_standings_conferencecharacterJSON-encoded conference node the standings row sits under.
team_standings_display_namecharacterDisplay name of the team on its standings row.
team_standings_full_namecharacterFull name of the team on its standings row.
team_standings_positioncharacterRank of the team within the standings grouping it is listed in.
team_standings_sequencecharacterTie-break ordering value Yahoo uses to sequence teams holding identical records.
team_standings_team_recordcharacterFormatted overall record for the team (e.g., "8-2").
team_standings_conference_positioncharacterRank of the team within its conference standings.
team_standings_points_forcharacterPoints the team has scored over the standings period.
team_standings_points_againstcharacterPoints the team has allowed over the standings period.
team_standings_clinched_playoffcharacterFlag indicating that the team has clinched a playoff berth.
team_standings_clinched_divisioncharacterFlag indicating that the team has clinched its division.
team_standings_streak_displaycharacterFormatted current streak for the team (e.g., "W3", "L2").

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_team_basic()

Last validated n/a.

yahoo_playbook_team_social_share​

Yahoo shangrila persisted query playbookTeamSocialShare -> one row per teams entry

Endpoint URL: GET https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeamSocialShare

Valid URL: https://graphite-secure.sports.yahoo.com/v1/query/shangrila/playbookTeamSocialShare

API ParameterPythonPatternRequiredNullableDescription
teamIdteam_idYteamId query parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
sport_sport_idcharacterYahoo identifier of the sport the league belongs to.
sport_namecharacterSport name (e.g., Major League Baseball).
team_idcharacterUnique team identifier.
primary_colorcharacterPrimary team color (hex).
team_logo_urlcharacterAbsolute URL of the team's standard logo image on Yahoo's image CDN.
team_logo_white_urlcharacterAbsolute URL of the team's white knockout logo, the variant used on dark backgrounds.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

yahoo_playbook_team_social_share()

Last validated n/a.