Skip to main content

YAHOO — Yahoo Sports Shangrila (graphite-secure.sports.yahoo.com) — Team

yahoo_team_injuries​

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

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

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

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
team_idcharacterUnique team identifier.
nicknamecharacterTeam or athlete nickname.
full_namecharacterPlayer's full 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.
display_namecharacterDisplay name.
primary_colorcharacterPrimary team color (hex).
abbreviationcharacterShort abbreviation.
alias_pathcharacterSite-relative path portion of the entity's Yahoo alias (e.g., "/ncaaf/teams/tcu/").
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
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.
playerscharacterNested list of per-player box scores.

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

Example​

yahoo_team_injuries()

Last validated n/a.

yahoo_team_playoff_series​

Yahoo shangrila persisted query teamPlayoffSeries -> one row per teams.playoffSeries entry

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

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

API ParameterPythonPatternRequiredNullableDescription
teamIdteam_idYteamId query parameter.
seasonseasonYSeason year (e.g. 2024).

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_team_playoff_series()

Last validated n/a.

yahoo_team_roster​

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

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

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

API ParameterPythonPatternRequiredNullableDescription
teamIdteam_idYteamId query parameter.
playerImageHeightplayer_image_heightYplayerImageHeight query parameter.
playerImageWidthplayer_image_widthYplayerImageWidth 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
league_current_seasoncharacterYahoo league-season identifier for the league's season currently in progress.
rostercharacterJSON-encoded roster of the players on the team for the requested season.

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

Example​

yahoo_team_roster()

Last validated n/a.

yahoo_team_schedule_by_season​

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

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

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

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason year (e.g. 2024).
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
team_idcharacterUnique team identifier.
display_namecharacterDisplay name.
primary_colorcharacterPrimary team color (hex).
secondary_colorcharacterSecondary team color (hex).
gametime_ticket_urlcharacterGametime affiliate ticket-purchase URL for the event or team.
bye_weekscharacterJSON-encoded list of the week numbers in which the team has no scheduled game.
gamescharacterGames played.
leaguescharacterJSON-encoded list of the league nodes the team's schedule spans.
full_namecharacterPlayer's full name.
abbreviationcharacterShort abbreviation.
nicknamecharacterTeam or athlete nickname.
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.
team_standings_team_recordcharacterFormatted overall record for the team (e.g., "8-2").
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").

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

Example​

yahoo_team_schedule_by_season()

Last validated n/a.

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

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

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

API ParameterPythonPatternRequiredNullableDescription
namenameYname 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
team_idcharacterUnique team identifier.
display_namecharacterDisplay name.
full_namecharacterPlayer's full name.
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/").
primary_colorcharacterPrimary team color (hex).
secondary_colorcharacterSecondary team color (hex).
abbreviationcharacterShort abbreviation.
league_short_namecharacterLeague short name.
league_display_shortcharacterShort league label used in navigation and compact UI (e.g., "NCAA FB").
league_namecharacterLeague name.
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_team_search()

Last validated n/a.

yahoo_team_stats_leaders_v2​

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

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

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

API ParameterPythonPatternRequiredNullableDescription
leagueleagueYleague query parameter.
teamIdteam_idYteamId query parameter.
countcountYcount query parameter.
seasonseasonYSeason year (e.g. 2024).
baseballCutTypebaseball_cut_typeYbaseballCutType query parameter.
qualifiedqualifiedYqualified query parameter.
includeTeamStatsinclude_team_statsYincludeTeamStats query parameter.
includePlayerStatsinclude_player_statsYincludePlayerStats query parameter.
isBaseballis_baseballYisBaseball 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
display_namecharacterDisplay name.
full_namecharacterPlayer's full name.
nicknamecharacterTeam or athlete nickname.
team_footballcharacterJSON-encoded team-level football leader board for the team.
individual_footballcharacterJSON-encoded player-level football leader board for the team.

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

Example​

yahoo_team_stats_leaders_v2()

Last validated n/a.

yahoo_team_transactions​

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

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

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

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
team_idcharacterUnique team identifier.
nicknamecharacterTeam or athlete nickname.
full_namecharacterPlayer's full 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.
display_namecharacterDisplay name.
primary_colorcharacterPrimary team color (hex).
abbreviationcharacterShort abbreviation.
alias_pathcharacterSite-relative path portion of the entity's Yahoo alias (e.g., "/ncaaf/teams/tcu/").
alias_urlcharacterAbsolute sports.yahoo.com URL of the entity's page (e.g., "https://sports.yahoo.com/ncaaf/players/464024/").
alias_domaincharacterHost the entity's Yahoo alias resolves against (e.g., "sports.yahoo.com").
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.
transactionscharacterJSON-encoded list of the team's roster transactions over the requested window.

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

Example​

yahoo_team_transactions()

Last validated n/a.

yahoo_teams_basic​

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

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

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

API ParameterPythonPatternRequiredNullableDescription
teamIdsteam_idsYteamIds 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
team_idcharacterUnique team identifier.
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.
display_namecharacterDisplay name.
full_namecharacterPlayer's full name.
nicknamecharacterTeam or athlete nickname.
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/").
primary_colorcharacterPrimary team color (hex).
secondary_colorcharacterSecondary team color (hex).
abbreviationcharacterShort abbreviation.
league_display_shortcharacterShort league label used in navigation and compact UI (e.g., "NCAA FB").
league_namecharacterLeague name.
league_short_namecharacterLeague short name.

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

Example​

yahoo_teams_basic()

Last validated n/a.