Skip to content

Standings

griddy / nfl / endpoints / regular / football / standings**

standings

Classes

Standings

Standings(
    sdk_config: SDKConfiguration,
    parent_ref: Optional[object] = None,
)

Bases: BaseSDK


              flowchart TD
              griddy.nfl.endpoints.regular.football.standings.Standings[Standings]
              griddy.nfl.basesdk.BaseSDK[BaseSDK]

                              griddy.nfl.basesdk.BaseSDK --> griddy.nfl.endpoints.regular.football.standings.Standings
                


              click griddy.nfl.endpoints.regular.football.standings.Standings href "" "griddy.nfl.endpoints.regular.football.standings.Standings"
              click griddy.nfl.basesdk.BaseSDK href "" "griddy.nfl.basesdk.BaseSDK"
            
Source code in griddy/nfl/basesdk.py
def __init__(
    self,
    sdk_config: SDKConfiguration,
    parent_ref: Optional[object] = None,
) -> None:
    self.sdk_configuration = sdk_config
    self.parent_ref = parent_ref
Functions
get_standings
get_standings(
    *,
    season: int,
    season_type: SeasonTypeEnum,
    week: int,
    limit: Optional[int] = 20,
    retries: OptionalNullable[RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None
) -> StandingsResponse

Get Standings

Retrieves team standings for a specific season, season type, and week. Includes division, conference, and overall standings with detailed statistics.

:param season: Season year :param season_type: Type of season :param week: Week number :param limit: Maximum number of results to return :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/regular/football/standings.py
def get_standings(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    week: int,
    limit: Optional[int] = 20,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.StandingsResponse:
    r"""Get Standings

    Retrieves team standings for a specific season, season type, and week.
    Includes division, conference, and overall standings with detailed statistics.


    :param season: Season year
    :param season_type: Type of season
    :param week: Week number
    :param limit: Maximum number of results to return
    :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_standings_config(
        season=season,
        season_type=season_type,
        week=week,
        limit=limit,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return self._execute_endpoint(config)
get_standings_async async
get_standings_async(
    *,
    season: int,
    season_type: SeasonTypeEnum,
    week: int,
    limit: Optional[int] = 20,
    retries: OptionalNullable[RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None
) -> StandingsResponse

Get Standings

Source code in griddy/nfl/endpoints/regular/football/standings.py
async def get_standings_async(
    self,
    *,
    season: int,
    season_type: models.SeasonTypeEnum,
    week: int,
    limit: Optional[int] = 20,
    retries: OptionalNullable[utils.RetryConfig] = UNSET,
    server_url: Optional[str] = None,
    timeout_ms: Optional[int] = None,
    http_headers: Optional[Mapping[str, str]] = None,
) -> models.StandingsResponse:
    r"""Get Standings"""
    config = self._get_standings_config(
        season=season,
        season_type=season_type,
        week=week,
        limit=limit,
        retries=retries,
        server_url=server_url,
        timeout_ms=timeout_ms,
        http_headers=http_headers,
    )
    return await self._execute_endpoint_async(config)