gamesheet_sdk.teams.shared.constants module

Teams-specific constants and configuration values.

This module defines URL constants and endpoint paths specific to the GameSheet teams dashboard API gateway.

Constants

TEAMS_API_GATEWAYstr

Base URL of the teams API gateway.

FIREBASE_API_KEYstr

Firebase API key for the gamesheet-production project.

TEAMS_TOKEN_EXCHANGE_PATHstr

Endpoint path for exchanging a Firebase ID token for app tokens.

TEAMS_REFRESH_PATHstr

Endpoint path for refreshing an expired access token.

TEAMS_LOOKUPS_PATHstr

Endpoint path for fetching public lookup data (no auth required).

Examples

Building a token exchange URL:

from gamesheet_sdk.teams.shared.constants import (
    TEAMS_API_GATEWAY,
    TEAMS_TOKEN_EXCHANGE_PATH,
)

url = f"{TEAMS_API_GATEWAY}{TEAMS_TOKEN_EXCHANGE_PATH}"