fetch (or any HTTP client) against the endpoints in Discovery Endpoints and Get Variable Data is the only option.Sample Code (No SDKs)
JavaScript: No Installable SDK
There is no npm-installable Data Hub JavaScript package. Generated sample code for JavaScript is planned instead — see the SDKs overview.
Until sample-code generation ships, calling the Data API directly with