@examplary/sdk
v1.0.0
Published
TypeScript SDK for accessing the Examplary API.
Readme
Examplary API SDK for TypeScript
This package provides a TypeScript client for the Examplary API, allowing you to interact with the API in a type-safe manner. It includes methods for all API endpoints, as well as type definitions for request and response data.
Installation
You can install the SDK using npm or yarn:
yarn add @examplary/sdkUsage
To use the SDK, you need to create an instance of the ExamplaryClient class and provide your API key:
import { createExamplaryClient } from "@examplary/sdk";
const client = createExamplaryClient({
apiKey: "my-api-key-or-oauth-access-token",
});
const { data } = await client.questionTypes.listPublic();