Installation
pnpm add @mipham/sdk
Quick Start
import { Mipham } from '@mipham/sdk';
const client = new Mipham({ apiKey: process.env.MIPHAM_API_KEY! });
// List products
const { data, hasMore, nextCursor } = await client.products.list({ limit: 20 });
// Get a single product
const product = await client.products.get('prod_abc123');
API Reference
See the full API reference.
GitHub
Source code and more examples: github.com/onemipham/sdk-typescript