Pangolin Integration API skill for AI agents. Ships a TypeScript client (pangolin-api.ts) plus per-section endpoint references.
Drop this directory into a skills path for Claude Code, Codex, etc:
git clone https://github.com/paltaio/pangolin-skill ~/.claude/skills/pangolin
# or ~/.codex/skills/pangolinOr just tell your agent: "Install https://github.com/paltaio/pangolin-skill for me"
Enable the integration API:
https://docs.pangolin.net/self-host/advanced/integration-api
Set env vars before running scripts that use the client:
export PANGOLIN_API_URL="https://api.pangolin.example.com/v1"
export PANGOLIN_API_TOKEN="..."
export PANGOLIN_ORG_ID="..." # optional default orgOr if you don't want to expose your creds to the agent, ask it to make an mcp out of it.
import api from "./pangolin-api.ts";
const sites = await api.get(`/org/${orgId}/sites`, { limit: 100 });Or instantiate explicitly:
import { Pangolin } from "./pangolin-api.ts";
const api = new Pangolin({
baseUrl: "https://api.pangolin.example.com/v1",
token: process.env.PANGOLIN_API_TOKEN,
});Errors throw PangolinError with status, body, res.
MIT