SDKs and CLI
Official SDKs ship as thin wrappers over the public API. The CLI is the same engine that runs in production, exposed for local testing.
01
Languages
- TypeScript: `npm i @doesitdefend/sdk` (Node 20+).
- Python: `pip install doesitdefend` (Python 3.11+).
- CLI: `npm i -g @doesitdefend/cli` (Node 20+).
02
Usage
- Auth via `DID_API_TOKEN` env var.
- CLI mirrors the API one-for-one: `did runs create --profile=quick`.
- TypeScript SDK ships types for every response shape (Zod-validated).