SDKs

Official SDKs

First-class client libraries for Python, JavaScript/TypeScript, and R. Install, authenticate, and start querying in under a minute.

Python

Full-featured Python SDK with async support, type hints, and Pandas/GeoPandas integration. Compatible with Python 3.9+.

pip install velstrom
Async/Await support
Type-safe models
Pandas & GeoPandas integration
Retry & backoff built-in
Streaming responses
example
from velstrom import Client

client = Client(api_key="vstrm_...")
ndvi = client.indices.ndvi(bbox=[72.8, 18.9, 72.9, 19.0])
print(ndvi.to_dataframe())

JavaScript / TypeScript

Isomorphic SDK for Node.js and browser environments. Full TypeScript definitions and tree-shakeable ESM build.

npm install @velstrom/sdk
TypeScript-first
Tree-shakeable ESM
Node.js & Browser
Streaming via ReadableStream
Automatic retries
example
import { Velstrom } from '@velstrom/sdk';

const client = new Velstrom({ apiKey: 'vstrm_...' });
const dem = await client.terrain.dem({ bbox: [72.8, 18.9, 72.9, 19.0] });
console.log(dem.elevation);

R

R SDK for statistical computing and geospatial analysis. Works seamlessly with sf, terra, and tidyverse workflows.

install.packages("velstrom")
sf & terra integration
Pipe-friendly API
Caching layer
Spatial objects out of the box
example
library(velstrom)

client <- vstrm_connect(api_key = "vstrm_...")
ndvi <- vstrm_ndvi(client, bbox = c(72.8, 18.9, 72.9, 19.0))
plot(ndvi)

Under Development: SDKs are in active development. Python SDK is the most mature. JavaScript and R SDKs are in beta. Community contributions welcome.