Games¶
griddy / nfl / endpoints / pro / games**
games
¶
Classes¶
ProGames
¶
Bases: ProSDK, GameScheduleMixin, GameContentMixin, GameResultsDataMixin
flowchart TD
griddy.nfl.endpoints.pro.games.ProGames[ProGames]
griddy.nfl.endpoints.pro.ProSDK[ProSDK]
griddy.nfl.basesdk.BaseSDK[BaseSDK]
griddy.nfl.endpoints.pro.mixins.game_schedule.GameScheduleMixin[GameScheduleMixin]
griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin[GameContentMixin]
griddy.nfl.endpoints.pro.mixins.game_results.GameResultsDataMixin[GameResultsDataMixin]
griddy.nfl.endpoints.pro.ProSDK --> griddy.nfl.endpoints.pro.games.ProGames
griddy.nfl.basesdk.BaseSDK --> griddy.nfl.endpoints.pro.ProSDK
griddy.nfl.endpoints.pro.mixins.game_schedule.GameScheduleMixin --> griddy.nfl.endpoints.pro.games.ProGames
griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin --> griddy.nfl.endpoints.pro.games.ProGames
griddy.nfl.endpoints.pro.mixins.game_results.GameResultsDataMixin --> griddy.nfl.endpoints.pro.games.ProGames
click griddy.nfl.endpoints.pro.games.ProGames href "" "griddy.nfl.endpoints.pro.games.ProGames"
click griddy.nfl.endpoints.pro.ProSDK href "" "griddy.nfl.endpoints.pro.ProSDK"
click griddy.nfl.basesdk.BaseSDK href "" "griddy.nfl.basesdk.BaseSDK"
click griddy.nfl.endpoints.pro.mixins.game_schedule.GameScheduleMixin href "" "griddy.nfl.endpoints.pro.mixins.game_schedule.GameScheduleMixin"
click griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin href "" "griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin"
click griddy.nfl.endpoints.pro.mixins.game_results.GameResultsDataMixin href "" "griddy.nfl.endpoints.pro.mixins.game_results.GameResultsDataMixin"
Source code in griddy/nfl/endpoints/pro/__init__.py
Functions¶
get_gamecenter
¶
get_gamecenter(
*,
game_id: str,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> GamecenterResponse
Get Gamecenter Statistics
Retrieves advanced game statistics including passer zones, receiver separation, pass rush metrics, and performance leaders for a specific game.
:param game_id: Game identifier :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/games.py
get_gamecenter_async
async
¶
get_gamecenter_async(
*,
game_id: str,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> GamecenterResponse
Get Gamecenter Statistics
Retrieves advanced game statistics including passer zones, receiver separation, pass rush metrics, and performance leaders for a specific game.
:param game_id: Game identifier :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/games.py
get_live_game_scores
¶
get_live_game_scores(
*,
season: int,
season_type: SeasonTypeEnum,
week: int,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> LiveScoresResponse
Get Live Game Scores
Retrieves real-time scores and game status for all games in a specified week. This endpoint updates frequently (15-second cache) to provide live scoring updates during active games. Returns an empty array when no games are currently being played.
:param season: Season year :param season_type: Type of season :param week: Week number :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/games.py
get_live_game_scores_async
async
¶
get_live_game_scores_async(
*,
season: int,
season_type: SeasonTypeEnum,
week: int,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> LiveScoresResponse
Get Live Game Scores
Retrieves real-time scores and game status for all games in a specified week. This endpoint updates frequently (15-second cache) to provide live scoring updates during active games. Returns an empty array when no games are currently being played.
:param season: Season year :param season_type: Type of season :param week: Week number :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.