SDK
Installation
Install the PredictorSDK client for TypeScript, Python, or Go.
PredictorSDK clients are auto-generated from the OpenAPI spec using Fern. All SDKs cover the same endpoint surface with language-native naming and types.
Install
npm install @predictorsdk/clientInitialize the client
import { PredictorSDKClient } from "@predictorsdk/client";
const client = new PredictorSDKClient({
token: "YOUR_API_KEY",
});Configuration options
| Option | Type | Description |
|---|---|---|
token | string | Your API key (Bearer token) |
Available SDKs
| Language | Package | Status |
|---|---|---|
| TypeScript | @predictorsdk/client | Published |
| Python | predictorsdk | Published |
| Go | github.com/PredictorSDK/sdk-go | Published |
All SDKs are auto-generated from the same OpenAPI spec to ensure consistency.