@assethub/api-client
v0.1.1
Published
Typed client for the public AssetHub API.
Readme
@assethub/api-client
Typed client for the public AssetHub API.
import {createAssetHubClient} from '@assethub/api-client'
const client = createAssetHubClient({
apiKey: process.env.ASSETHUB_API_KEY!,
})
const models = await client.v2.listModels()The client only talks to the public /api/v1 and /api/v2 surfaces. It must
not import AssetHub server internals, database clients, or private app modules.
