Developers
Sign inGet API keys
SDKs

Official SDKs

Three libraries with the same shape: a client with every service as a property, OAuth helpers with PKCE, and webhook signature checks. Each is generated from the API's definitions, so all 370 methods are there on day one, and none of them needs a dependency.

The same call in every language

Method names follow each language's conventions: listOrders in TypeScript and PHP, list_orders in Python. Request fields can be written either way.

TypeScript
const lumora = new Lumora({ accessToken: process.env.LUMORA_ACCESS_TOKEN! });

// Fully typed: request fields autocomplete, responses are typed.
const { orders, nextPageToken } = await lumora.orders.listOrders({ pageSize: 50 });
for (const order of orders ?? []) {
  console.log(order.number, order.totals?.total); // TZS cents
}
Python
lumora = Lumora(access_token=os.environ["LUMORA_ACCESS_TOKEN"])

page = lumora.orders.list_orders(page_size=50)
for order in page.get("orders", []):
    print(order["number"], order["totals"]["total"])  # TZS cents
PHP
$lumora = new Client(getenv('LUMORA_ACCESS_TOKEN'));

$page = $lumora->orders->listOrders(['page_size' => 50]);
foreach ($page['orders'] ?? [] as $order) {
    echo $order['number'], ' ', $order['totals']['total'], PHP_EOL; // TZS cents
}

Not using one of these?

The API is JSON over HTTPS, so any language with an HTTP client works. Making requests covers the format, and the API reference has a cURL sample for every method. Connect and gRPC clients generated from the protobuf definitions work too.