Coming soon
The SDK ships in Phase 3. Until then, call the REST API directly or use the CLI.
Usage#
@skoolapi/sdk is isomorphic, zero-dep and fetch-based. Typed errors mirror the envelope; iterate() auto-paginates.
import { SkoolClient } from "@skoolapi/sdk";
const skool = new SkoolClient({ apiKey: process.env.SKOOL_API_KEY });
const { data } = await skool.posts.list(groupId);
for await (const post of skool.posts.iterate(groupId)) {
// typed errors mirror the envelope's error.code
}