SDKs
Call the Aeonav API from TypeScript or Python.
These examples use the upstream Elmo typed clients for the REST API. The clients are compatible with Aeonav deployments, but Aeonav does not publish or maintain them. Check the upstream READMEs for the supported API surface and release notes.
| Language | Package | Upstream source |
|---|---|---|
| TypeScript | @elmohq/sdk | elmohq/elmo-sdk-typescript |
| Python | elmo-sdk | elmohq/elmo-sdk-python |
Both read an API key from ELMO_API_KEY and the address to call from
ELMO_BASE_URL. The base URL has no default you can rely on — every instance serves the API on its own
address — so always set it. On cloud that is https://app.aeonav.fivecoder.com/api/v1; a self-hosted instance
uses its own APP_URL followed by /api/v1.
export ELMO_API_KEY=elmo_...
export ELMO_BASE_URL=https://app.aeonav.fivecoder.com/api/v1Every deployment also shows both snippets at Settings → API, with its own base URL filled in.
TypeScript
npm install @elmohq/sdkimport { Elmo } from "@elmohq/sdk";
const elmo = new Elmo();
for await (const brand of elmo.brands.list()) {
console.log(brand.name);
}Pass apiKey and baseURL to the constructor instead of setting the environment variables, for
example to talk to two instances from one process. Node.js 20.19 or later is required.
Python
pip install elmo-sdkfrom elmo_sdk import Elmo
elmo = Elmo()
for brand in elmo.brands.list():
print(brand.name)AsyncElmo has the same calls for asyncio. Pass api_key and base_url to the constructor instead of
setting the environment variables. Python 3.10 or later is required.
Versions
The upstream SDKs are versioned independently of Aeonav releases. Each repository's README covers pagination, errors, retries, and timeouts in full.
Was this page helpful?