Skip to content

Client

The Almanak client provides programmatic access to the Almanak platform API.

almanak._client.Almanak

Almanak(
    *,
    api_key: str | None = None,
    organization: str | None = None,
    team: str | None = None,
    base_url: str | URL | None = None,
    timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
    max_retries: int = DEFAULT_MAX_RETRIES,
    default_headers: Mapping[str, str] | None = None,
    default_query: Mapping[str, object] | None = None,
    almanak_user_metadata_provider: AlmanakUserMetadataProvider
    | None = None,
    http_client: Client | None = None,
    _strict_response_validation: bool = False,
    _env: str = "prod",
)

Bases: SyncAPIClient

The Almanak class is a synchronous API client for the Almanak Platform SDK. It provides access to various resources and configurations for the SDK.

Construct a new synchronous almanak client instance.