The SDK is how your applications talk to the platform — time-series, assets, events, files and live streams. One client, three languages, the same concepts in each.
Every code example in the SDK documentation is written in all three languages — pick yours once and the whole site follows. The API reference documents the endpoints underneath.
// Create a series and write a datapoint
var client = DatahubClient.fromEnv();
var series = Timeseries.of("engine_temperature");
series.setUnit("celsius");
client.timeseries().create(series);
client.timeseries().ingest(Map.of(
"engine_temperature",
List.of(Datapoint.of(Instant.now(), 92.4))));
Install
The client reads its configuration from the environment: a base URL, and either a static token or OAuth2 client credentials. There is nothing else to wire up before your first call.
For JVM services. Add one dependency with Gradle or Maven.
// build.gradle.kts
implementation(
"ai.intellistream:datahub-sdk:0.1.0")
For native services and tooling. Add the crate with Cargo.
# Cargo.toml
[dependencies]
dataplatform-rust-sdk = "0.1"
What it covers
The same shape in every language: create, ingest, query, subscribe.