Welcome to the API reference for the @blocklet/js-sdk. This section provides detailed, technical documentation for all the classes, methods, functions, and types that the SDK exposes. It is intended for developers who need a precise understanding of the SDK's components and their functionalities.
Whether you're looking to create a custom API client, interact with a specific Blocklet service, or understand the data structures, you'll find the necessary details here.
SDK Client
Reference for the main `BlockletSDK` class and factory functions like `getBlockletSDK`, `createAxios`, and `createFetch`.
Services
Detailed API documentation for services that interact with specific Blocklet API endpoints, such as authentication and user sessions.
Types
A comprehensive reference for all exported TypeScript types and interfaces, helping you ensure type safety in your application.
This reference is organized to help you quickly find the information you need. For a more practical, task-based introduction, we recommend starting with the Guides. If you're ready to dive into the specifics, please select a category above to get started.