Skip to content

Team Defense Stats

team_defense

Team-level defensive statistics (overview, pass, rush) by week and season endpoints.

TeamDefenseStats

TeamDefenseStats(sdk_config, parent_ref)

Bases: ProSDK

Team-level defensive statistics (overview, pass, rush) by week and season.

Source code in src/griddy/nfl/endpoints/pro/__init__.py
def __init__(self, sdk_config: SDKConfiguration, parent_ref: Optional[object]):
    """Initialise the Pro SDK and set the server type to ``"pro"``."""
    super().__init__(sdk_config=sdk_config, parent_ref=parent_ref)
    self.sdk_configuration.server_type = "pro"