Bases: BaseSDK
Base class for all Pro API (pro.nfl.com) endpoint sub-SDKs.
Sets server_type to "pro" so that requests are routed to the
Pro NFL API server instead of the default public API.
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"
|