Logo
Logo

SDKs

Official GenesisDB clients for JavaScript/TypeScript, Go, Python, Java, .NET, Rust, Swift and PHP.

Official clients exist for eight languages. They all share the same shape: configure url and token (or set GENESISDB_URL and GENESISDB_AUTH_TOKEN), then commit, fetch, subscribe, query and manage schemas. commit returns the stored events, errors are typed per status code.

LanguageInstall
JavaScript/TypeScriptnpm install genesisdb
Gogo get github.com/genesisdb-io/genesisdb-io-client-go/v2
Pythonpip install genesisdb-client
Javaio.genesisdb:genesisdb:2.0.0
.NETdotnet add package GenesisDB.Client
Rustcargo add genesisdb
SwiftSwift Package Manager, genesisdb-io-client-swift
PHPcomposer require genesisdb/client-sdk

No SDK for your language? The HTTP API is plain JSON over HTTP, see the cURL examples.

The 2.0.0 SDKs target GenesisDB 2.0. Existing 1.x clients keep working against a 2.0 server through the unchanged 1.x API under `/api/v1`, so the server can be upgraded first and the clients at your own pace.

In this section