-
Notifications
You must be signed in to change notification settings - Fork 2
Client SDKs
You can call ggscale two ways: through a language SDK, or over plain HTTP.
The SDKs wrap authentication, the session token header, and the typed request and response bodies, so you do not hand-roll them.
-
Go:
github.com/automoto/ggscale-go. Full coverage of the/v1API. Install withgo get, then follow the repo's README. -
C#: a zero-dependency
netstandard2.1core that suits Unity, Godot, and MonoGame. Find the C# SDK repo in the automoto GitHub organization.
Each SDK keeps its own guide and versioning in its repository, so this wiki links out instead of duplicating them.
You do not have to use an SDK. Every feature is reachable over plain HTTP, and the wire contract is described in openapi.yaml at the repository root. You can generate a client for any language from that spec, or call the endpoints with any HTTP library.
Two headers cover most calls: the API key on every request, and the session token for calls that act for a player. See Core Concepts for how they fit, and Using the API for the authentication headers, the base URL, and where the rendered endpoint reference lives.