Installing the SDK
1
Install the SDK
- Bun
- pnpm
- npm
- Yarn
2
Initialize the Client
Initialization
The SDK accepts a token and optional configuration:Options
When
true, returns raw API responses with metadata at the top level and data nested inside a data object. When false, returns cleaned responses with metadata separate.When
true, enables extra logging for debugging purposes.Quick Start
Once initialized, you can start using the SDK immediately:Response Format
The SDK returns different response formats depending on theraw option:
Default Format (raw: false)
Clean responses with metadata separate from the main data:
Raw Format (raw: true)
Raw API responses with metadata at the top level and data nested:
