TypeScript SDK
Typed client for Node.js and the browser.
Install
Create a client
Pass the production API, https://api.ev-cloud.ai, as environment.
See Authentication for the token.
Make a call
Each domain is a namespace: client.cpo, client.emsp, client.energy, client.webhooks and client.ocpi. Request and response fields keep the API’s snake_case names; methods are camelCase.
quickstart.ts
Errors, retries and which calls are never resent: Errors and retries.