Rushing¶
griddy / nfl / endpoints / pro / stats / rushing**
rushing
¶
Classes¶
PlayerRushingStats
¶
Bases: ProSDK
flowchart TD
griddy.nfl.endpoints.pro.stats.rushing.PlayerRushingStats[PlayerRushingStats]
griddy.nfl.endpoints.pro.ProSDK[ProSDK]
griddy.nfl.basesdk.BaseSDK[BaseSDK]
griddy.nfl.endpoints.pro.ProSDK --> griddy.nfl.endpoints.pro.stats.rushing.PlayerRushingStats
griddy.nfl.basesdk.BaseSDK --> griddy.nfl.endpoints.pro.ProSDK
click griddy.nfl.endpoints.pro.stats.rushing.PlayerRushingStats href "" "griddy.nfl.endpoints.pro.stats.rushing.PlayerRushingStats"
click griddy.nfl.endpoints.pro.ProSDK href "" "griddy.nfl.endpoints.pro.ProSDK"
click griddy.nfl.basesdk.BaseSDK href "" "griddy.nfl.basesdk.BaseSDK"
Source code in griddy/nfl/endpoints/pro/__init__.py
Functions¶
get_weekly_summary
¶
get_weekly_summary(
*,
season: int,
season_type: SeasonTypeEnum,
week: WeekSlugEnum,
limit: Optional[int] = 50,
offset: Optional[int] = 0,
page: Optional[int] = 1,
sort_key: Optional[
GetPlayerRushingStatsByWeekSortKey
] = "yds",
sort_value: Optional[SortOrderEnum] = None,
qualified_rusher: Optional[bool] = False,
team_offense: Optional[List[str]] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> WeeklyRushingStatsResponse
Get Player Rushing Statistics by Week
Retrieves comprehensive rushing statistics for NFL players during a specified week.
:param season: Season year :param season_type: Type of season :param week: Week identifier :param limit: Maximum number of players to return :param offset: Number of records to skip for pagination :param page: Page number for pagination :param sort_key: Field to sort by :param sort_value: Sort direction :param qualified_rusher: Filter to only qualified rushers :param team_offense: Filter by specific team IDs :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/stats/rushing.py
get_weekly_summary_async
async
¶
get_weekly_summary_async(
*,
season: int,
season_type: SeasonTypeEnum,
week: WeekSlugEnum,
limit: Optional[int] = 50,
offset: Optional[int] = 0,
page: Optional[int] = 1,
sort_key: Optional[
GetPlayerRushingStatsByWeekSortKey
] = "yds",
sort_value: Optional[SortOrderEnum] = None,
qualified_rusher: Optional[bool] = False,
team_offense: Optional[List[str]] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> WeeklyRushingStatsResponse
Get Player Rushing Statistics by Week
Retrieves comprehensive rushing statistics for NFL players during a specified week.
:param season: Season year :param season_type: Type of season :param week: Week identifier :param limit: Maximum number of players to return :param offset: Number of records to skip for pagination :param page: Page number for pagination :param sort_key: Field to sort by :param sort_value: Sort direction :param qualified_rusher: Filter to only qualified rushers :param team_offense: Filter by specific team IDs :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/stats/rushing.py
get_season_summary
¶
get_season_summary(
*,
season: int,
season_type: SeasonTypeEnum,
limit: Optional[int] = 35,
offset: Optional[int] = 0,
page: Optional[int] = 1,
sort_key: Optional[
GetPlayerRushingStatsBySeasonSortKey
] = "yds",
sort_value: Optional[SortOrderEnum] = None,
qualified_rusher: Optional[bool] = False,
team_offense: Optional[List[str]] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> RushingStatsResponse
Get Player Rushing Statistics by Season
Retrieves comprehensive rushing statistics for NFL players during a specified season.
:param season: Season year :param season_type: Type of season :param limit: Maximum number of players to return :param offset: Number of records to skip for pagination :param page: Page number for pagination :param sort_key: Field to sort by :param sort_value: Sort direction :param qualified_rusher: Filter to only qualified rushers :param team_offense: Filter by specific team IDs :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/stats/rushing.py
get_season_summary_async
async
¶
get_season_summary_async(
*,
season: int,
season_type: SeasonTypeEnum,
limit: Optional[int] = 35,
offset: Optional[int] = 0,
page: Optional[int] = 1,
sort_key: Optional[
GetPlayerRushingStatsBySeasonSortKey
] = "yds",
sort_value: Optional[SortOrderEnum] = None,
qualified_rusher: Optional[bool] = False,
team_offense: Optional[List[str]] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> RushingStatsResponse
Get Player Rushing Statistics by Season
Retrieves comprehensive rushing statistics for NFL players during a specified season.
:param season: Season year :param season_type: Type of season :param limit: Maximum number of players to return :param offset: Number of records to skip for pagination :param page: Page number for pagination :param sort_key: Field to sort by :param sort_value: Sort direction :param qualified_rusher: Filter to only qualified rushers :param team_offense: Filter by specific team IDs :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.