Skip to main content
This page previously described pip install datahub-sdk and npm install @datahub/sdk packages. Neither exists. There is no ingestion, query, or webhook surface for an SDK to wrap in the first place — see API Reference: Introduction for what the Data API actually is.
The intended design is closer to a “copy this snippet” feature: once you’ve configured a variable/time-range/resolution query (in the Data Visualizer or directly against the API), Data Hub generates ready-to-run sample code in Python, R, JavaScript, curl, or MATLAB for that specific query — rather than a general-purpose client library you install and maintain.
This is a stub — the sample-code-generation feature hasn’t shipped yet, and there’s nothing further to document until it does.