API Reference



The gamesheet_sdk package exposes Pythonic wrappers around the GameSheet platform. Complete API documentation for all modules, packages, and subpackages is generated automatically from source on every documentation build using sphinx-apidoc.

The package is organized into three pillars:

  • common — Shared infrastructure (auth, config, session, browser, output, errors)

  • admin — Admin dashboard domain modules and CLI

  • teams — Teams dashboard domain modules and CLI

1. Module index

All Python modules are automatically discovered and documented. Click any module name to view its complete API documentation.

gamesheet_sdk

gamesheet_sdk — unofficial Python SDK for the GameSheet Inc.

gamesheet_sdk.common

Shared infrastructure for the GameSheet SDK.

gamesheet_sdk.common.auth

Authentication flows and token management for GameSheet.

gamesheet_sdk.common.browser

Reusable Playwright browser session for the JS-heavy WebUI path.

gamesheet_sdk.common.cli

Shared CLI utilities for GameSheet CLIs.

gamesheet_sdk.common.config

Configuration for an SDK session.

gamesheet_sdk.common.constants

SDK-wide constants and configuration values.

gamesheet_sdk.common.errors

Error message templates for the GameSheet SDK.

gamesheet_sdk.common.exceptions

Exceptions raised by gamesheet_sdk.

gamesheet_sdk.common.output

Multi-format rendering of tabular data for CLI workflows.

gamesheet_sdk.common.security

Security and file permission utilities.

gamesheet_sdk.common.session

Reusable HTTP session for talking to the GameSheet WebUI.

gamesheet_sdk.common.shared

Shared utilities for domain modules.

gamesheet_sdk.admin

Admin dashboard SDK for GameSheet.

gamesheet_sdk.admin.associations

GameSheet associations: the top-level organizational unit of the platform.

gamesheet_sdk.admin.divisions

GameSheet divisions: organizational groupings within a season.

gamesheet_sdk.admin.games

GameSheet games: scheduled, completed, and bracket games within a season.

gamesheet_sdk.admin.ipad_keys

GameSheet iPad keys: Scoring Access Keys for season scoring via iPad app.

gamesheet_sdk.admin.leagues

GameSheet leagues: divisions within an association.

gamesheet_sdk.admin.referees

GameSheet referees: officials assigned to games within a season.

gamesheet_sdk.admin.roster

GameSheet roster: players and coaches within a season.

gamesheet_sdk.admin.seasons

GameSheet seasons: time periods within a league.

gamesheet_sdk.admin.shared

Admin-specific shared utilities.

gamesheet_sdk.admin.teams

GameSheet teams: competing organizations within a season.

gamesheet_sdk.admin.cli

CLI for the GameSheet admin dashboard.

gamesheet_sdk.teams

Teams dashboard SDK for GameSheet.

gamesheet_sdk.teams.login

HTTP-only login flow for the GameSheet teams dashboard.

gamesheet_sdk.teams.lookups

Public lookup data from the teams API.

gamesheet_sdk.teams.seasons

Seasons data from the teams API.

gamesheet_sdk.teams.session

Authenticated session with automatic token refresh for the teams API gateway.

gamesheet_sdk.teams.shared

Teams-specific shared utilities and constants.

gamesheet_sdk.teams.cli

CLI for the GameSheet teams dashboard.

2. Common infrastructure

Shared modules used by both admin and teams CLIs.

3. Authentication package

Authentication flows, token management, and authenticated HTTP session.

4. Shared utilities

Shared utilities and helpers used across the SDK.

5. Common CLI infrastructure

Shared CLI framework used by both admin and teams CLIs.

6. Admin domain modules

Domain modules for the admin dashboard.

7. Admin games package

Game retrieval and management for scheduled, completed, and bracket games.

8. Admin roster package

Player and coach roster management.

9. Admin CLI

Admin CLI framework and command implementations.

10. Teams domain and CLI

Teams domain models, auth, and CLI command implementations.