@oktus/sdk
v0.0.5
Published
Official Oktus API SDK generated from OpenAPI schemas
Downloads
380
Readme
Install
# npm
$ npm i @oktus/sdk
# yarn
$ yarn add @oktus/sdk
# pnpm
$ pnpm add @oktus/sdk
# bun
$ bun add @oktus/sdkUsage
import { Oktus } from '@oktus/sdk'
const client = new Oktus({
apiKey: 'YOUR_API_KEY'
})
const me = await client.getIdentityMe()The package root exports the SDK client and core utility types.
If you need the full generated operation type aliases, import them from @oktus/sdk/types.
Development
The SDK source is generated from OpenAPI schemas exported by @oktus/api.
pnpm --filter @oktus/sdk generate