Open Spanner
Getting Started

Choosing An SDK

Pick an SDK for the service that reports usage.

You can call the REST API directly or use one of the official SDKs. SDKs are a convenience layer for trusted backend code; they are not required to use Open Spanner.

Do not put Open Spanner API keys in browser or mobile clients.

RuntimePackageUse it when
Gogithub.com/ssubedir/open-spanner/sdk/goYour API or worker is written in Go.
TypeScript@ssubedir/open-spannerYour service runs on Node.js or a TypeScript backend.
Pythonopen-spannerYou report usage from Python services, scripts, or jobs.
C#OpenSpannerYou run .NET services or workers.

The SDK pages include in-doc setup and usage snippets for each language:

REST clients and SDKs use the same product model:

  1. Create an API key in the dashboard.
  2. Send that key with the request or pass it into the SDK client.
  3. Define meters or send usage from a trusted service.
  4. Query or export usage when another system needs it.

If you only need to inspect usage manually, use the dashboard usage page instead of writing client code.