Node.js example
Works with Node 18+ (globalfetch). Keep the API key in an environment variable.
Appointments with filters
Notes
- Use this only on a server (never ship
CICINI_API_KEYto browsers). - Handle
401/400separately from transport errors. - For TypeScript, generate types from OpenAPI (
openapi-typescriptagainst/openapi.json) rather than hand-copying fields.