A TypeScript SDK generated from our OpenAPI 3.1 spec — npm publish pending. Until it lands, cURL works today and openapi-generator gives you a typed client in 20+ languages from the same spec. We list what exists, not what we hope to ship.
@autodealerpro/sdknpm install @autodealerpro/sdk· available once publishedimport { ADP } from '@autodealerpro/sdk';
const client = new ADP({
apiKey: process.env.ADP_API_KEY!,
tenant: 'acme-motors',
});
// List inventory — { ok: true, data: { items, nextCursor } }
const { data } = await client.units.list({
status: 'available',
limit: 50,
});
// Create a lead with idempotency
await client.leads.create(
{ name: 'Marcus Webb', phone: '+14155550118', vehicleId: 'a4830' },
{ idempotencyKey: crypto.randomUUID() },
);{ ok, data } / { ok, error } envelope. The first command below runs against the live no-auth demo API.# Prove it works right now — no auth, no signup
curl -s 'https://autodealerpro.io/api/demo/units?limit=4'
# Production: list inventory
curl https://autodealerpro.io/api/v1/units?status=available \
-H "Authorization: Bearer $ADP_API_KEY"
# Production: create a lead (idempotent)
curl -X POST https://autodealerpro.io/api/v1/leads \
-H "Authorization: Bearer $ADP_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Marcus Webb",
"phone": "+14155550118",
"vehicleId": "a4830"
}'# Grab the spec — same document our own SDK is generated from
curl -o openapi.json https://autodealerpro.io/api/openapi.json
# Generate a TypeScript client
npx @openapitools/openapi-generator-cli generate \
-i openapi.json -g typescript-fetch -o ./adp-client
# Or Python, Go, Ruby, C#, Rust, Kotlin, ... (20+ generators)
npx @openapitools/openapi-generator-cli listWe'd rather publish one SDK we maintain than five package names that 404. Python, Go, and Ruby clients generate cleanly from the spec today; official ones ship for languages with traction.
When @autodealerpro/sdk publishes: semver, breaking changes only on major, N-1 major supported for at least 12 months with back-ported fixes.
The API is JSON-over-HTTP. curl, fetch, requests, http.Client — they all just work. Browse every endpoint in the interactive reference.