Skip to content

Current Games Response

griddy / nfl / models / responses / current_games_response**

current_games_response

Attributes

Classes

CurrentGamesResponseTypedDict

Bases: TypedDict


              flowchart TD
              griddy.nfl.models.responses.current_games_response.CurrentGamesResponseTypedDict[CurrentGamesResponseTypedDict]

              

              click griddy.nfl.models.responses.current_games_response.CurrentGamesResponseTypedDict href "" "griddy.nfl.models.responses.current_games_response.CurrentGamesResponseTypedDict"
            
Attributes
games_played_smart_ids instance-attribute
games_played_smart_ids: NotRequired[List[str]]

Smart IDs of games already played

number_of_games instance-attribute
number_of_games: NotRequired[int]

Total number of games in the week

number_of_games_played instance-attribute
number_of_games_played: NotRequired[int]

Number of games already played

season instance-attribute
season: NotRequired[int]

Current season year

season_type instance-attribute
season_type: NotRequired[SeasonTypeEnum]

Type of NFL season

week instance-attribute
week: NotRequired[int]

Current week number

CurrentGamesResponse

Bases: BaseModel


              flowchart TD
              griddy.nfl.models.responses.current_games_response.CurrentGamesResponse[CurrentGamesResponse]
              griddy.nfl.types.basemodel.BaseModel[BaseModel]

                              griddy.nfl.types.basemodel.BaseModel --> griddy.nfl.models.responses.current_games_response.CurrentGamesResponse
                


              click griddy.nfl.models.responses.current_games_response.CurrentGamesResponse href "" "griddy.nfl.models.responses.current_games_response.CurrentGamesResponse"
              click griddy.nfl.types.basemodel.BaseModel href "" "griddy.nfl.types.basemodel.BaseModel"
            
Attributes
games_played_smart_ids class-attribute instance-attribute
games_played_smart_ids: Annotated[
    Optional[List[str]], Field(alias="gamesPlayedSmartIds")
] = None

Smart IDs of games already played

number_of_games class-attribute instance-attribute
number_of_games: Annotated[
    Optional[int], Field(alias="numberOfGames")
] = None

Total number of games in the week

number_of_games_played class-attribute instance-attribute
number_of_games_played: Annotated[
    Optional[int], Field(alias="numberOfGamesPlayed")
] = None

Number of games already played

season class-attribute instance-attribute
season: Optional[int] = None

Current season year

season_type class-attribute instance-attribute
season_type: Annotated[
    Optional[SeasonTypeEnum], Field(alias="seasonType")
] = None

Type of NFL season

week class-attribute instance-attribute
week: Optional[int] = None

Current week number