Skip to content

Receiving

griddy / nfl / endpoints / pro / stats / receiving**

receiving

Classes

PlayerReceivingStats

PlayerReceivingStats(
    sdk_config: SDKConfiguration,
    parent_ref: Optional[object],
)

Bases: ProSDK


              flowchart TD
              griddy.nfl.endpoints.pro.stats.receiving.PlayerReceivingStats[PlayerReceivingStats]
              griddy.nfl.endpoints.pro.ProSDK[ProSDK]
              griddy.nfl.basesdk.BaseSDK[BaseSDK]

                              griddy.nfl.endpoints.pro.ProSDK --> griddy.nfl.endpoints.pro.stats.receiving.PlayerReceivingStats
                                griddy.nfl.basesdk.BaseSDK --> griddy.nfl.endpoints.pro.ProSDK
                



              click griddy.nfl.endpoints.pro.stats.receiving.PlayerReceivingStats href "" "griddy.nfl.endpoints.pro.stats.receiving.PlayerReceivingStats"
              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
def __init__(self, sdk_config: SDKConfiguration, parent_ref: Optional[object]):
    super().__init__(sdk_config=sdk_config, parent_ref=parent_ref)
    self.sdk_configuration.server_type = "pro"
Functions
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[ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[SortOrderEnum] = None,
    qualified_receiver: 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
) -> ReceivingStatsResponse

Get Player Receiving Statistics by Season

Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers :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/receiving.py
def get_season_summary(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    limit: Optional[int] = 35,
    offset: Optional[int] = 0,
    page: Optional[int] = 1,
    sort_key: Optional[models.ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[models.SortOrderEnum] = None,
    qualified_receiver: Optional[bool] = False,
    team_offense: Optional[List[str]] = None,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.ReceivingStatsResponse:
    r"""Get Player Receiving Statistics by Season

    Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers
    :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.
    """
    config = self._get_season_summary_config(
        season=season,
        season_type=season_type,
        limit=limit,
        offset=offset,
        page=page,
        sort_key=sort_key,
        sort_value=sort_value,
        qualified_receiver=qualified_receiver,
        team_offense=team_offense,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return self._execute_endpoint(config)
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[ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[SortOrderEnum] = None,
    qualified_receiver: 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
) -> ReceivingStatsResponse

Get Player Receiving Statistics by Season

Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers :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/receiving.py
async def get_season_summary_async(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    limit: Optional[int] = 35,
    offset: Optional[int] = 0,
    page: Optional[int] = 1,
    sort_key: Optional[models.ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[models.SortOrderEnum] = None,
    qualified_receiver: Optional[bool] = False,
    team_offense: Optional[List[str]] = None,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.ReceivingStatsResponse:
    r"""Get Player Receiving Statistics by Season

    Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers
    :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.
    """
    config = self._get_season_summary_config(
        season=season,
        season_type=season_type,
        limit=limit,
        offset=offset,
        page=page,
        sort_key=sort_key,
        sort_value=sort_value,
        qualified_receiver=qualified_receiver,
        team_offense=team_offense,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return await self._execute_endpoint_async(config)
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[ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[SortOrderEnum] = None,
    qualified_receiver: 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
) -> ReceivingStatsResponse

Get Player Receiving Statistics by Week

Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers :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/receiving.py
def get_weekly_summary(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    week: models.WeekSlugEnum,
    limit: Optional[int] = 50,
    offset: Optional[int] = 0,
    page: Optional[int] = 1,
    sort_key: Optional[models.ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[models.SortOrderEnum] = None,
    qualified_receiver: Optional[bool] = False,
    team_offense: Optional[List[str]] = None,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.ReceivingStatsResponse:
    r"""Get Player Receiving Statistics by Week

    Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers
    :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.
    """
    config = self._get_weekly_summary_config(
        season=season,
        season_type=season_type,
        week=week,
        limit=limit,
        offset=offset,
        page=page,
        sort_key=sort_key,
        sort_value=sort_value,
        qualified_receiver=qualified_receiver,
        team_offense=team_offense,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return self._execute_endpoint(config)
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[ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[SortOrderEnum] = None,
    qualified_receiver: 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
) -> ReceivingStatsResponse

Get Player Receiving Statistics by Week

Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers :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/receiving.py
async def get_weekly_summary_async(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    week: models.WeekSlugEnum,
    limit: Optional[int] = 50,
    offset: Optional[int] = 0,
    page: Optional[int] = 1,
    sort_key: Optional[models.ReceivingStatsCategoryEnum] = None,
    sort_value: Optional[models.SortOrderEnum] = None,
    qualified_receiver: Optional[bool] = False,
    team_offense: Optional[List[str]] = None,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.ReceivingStatsResponse:
    r"""Get Player Receiving Statistics by Week

    Retrieves comprehensive receiving 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_receiver: Filter to only qualified receivers
    :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.
    """
    config = self._get_weekly_summary_config(
        season=season,
        season_type=season_type,
        week=week,
        limit=limit,
        offset=offset,
        page=page,
        sort_key=sort_key,
        sort_value=sort_value,
        qualified_receiver=qualified_receiver,
        team_offense=team_offense,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return await self._execute_endpoint_async(config)