Skip to content

NGS Stats

stats

NGS Stats endpoints for player statistics.

NgsStats

NgsStats(sdk_config, parent_ref=None)

Bases: NgsBaseSDK

NGS Stats endpoints for player statistics.

Provides access to: - Passing statistics (time to throw, air yards, completion probability, etc.) - Receiving statistics (separation, cushion, YAC, etc.) - Rushing statistics (time to LOS, rush yards over expected, etc.)

Source code in src/griddy/core/basesdk.py
def __init__(
    self,
    sdk_config: T_Config,
    parent_ref: Optional[object] = None,
) -> None:
    """Initialize the SDK with configuration and an optional parent reference."""
    self.sdk_configuration = sdk_config
    self.parent_ref = parent_ref
    self._cached_env_security = _UNRESOLVED