Skip to main content

SDKs

There are no official SDKs yet. The API is described by an OpenAPI document, so you can generate a client in most languages:

curl -o agantia-openapi.json https://developer.staging.agantia.com/openapi.json

# TypeScript (fetch)
npx @openapitools/openapi-generator-cli generate -i agantia-openapi.json -g typescript-fetch -o ./agantia-client

# Python
npx @openapitools/openapi-generator-cli generate -i agantia-openapi.json -g python -o ./agantia-client

Operation IDs are stable, for example Products_list and Bookings_create, so generated method names do not change between releases.

Whatever client you use, handle these yourself: