Developer SDKs
Official client libraries for integrating with Aevum Zenth's global infrastructure. Designed for reliability, type safety, and seamless cross-divisional data synchronization.
Overview
The Aevum Zenth SDKs provide unified access to all 400 subsidiaries through a single, consistent API surface. Built with async/await primitives, automatic retry logic, circuit breakers, and comprehensive TypeScript type definitions, our SDKs are engineered for production-scale applications.
Installation
npm install @aevum-zenth/sdk
# or
yarn add @aevum-zenth/sdk
# or
pnpm add @aevum-zenth/sdk
Quick Start
Initialize the client, authenticate with your API key, and make your first cross-divisional request.
import { AevumZenth } from '@aevum-zenth/sdk';
const zenth = new AevumZenth({
apiKey: process.env.AEVUM_API_KEY,
environment: 'production', // 'sandbox' or 'production'
region: 'us-east-1',
timeout: 30000,
retries: 3,
});
// Fetch real-time grid status from Energy Division
const gridStatus = await zenth.energy.getRegionalLoad({
zone: 'NEISO',
forecast: true,
});
console.log(gridStatus.currentLoad); // { mw: 42850, status: 'optimal' }
Authentication
Access to Aevum Zenth services requires a valid API key. Keys are scoped by division, region, and permission level. Never expose keys in client-side code or public repositories.
zenth:read scoped keys for read-only integrations and zenth:write for mutation endpoints.Environment Configuration
The SDK automatically reads credentials from standard environment variables:
AEVUM_API_KEY=ak_live_7x9m2p4q8r1v5w
AEVUM_API_SECRET=sk_live_3n8k6j2h9f4d1c
AEVUM_ENVIRONMENT=production
AEVUM_LOG_LEVEL=warn
Webhooks & Event Streaming
Subscribe to real-time events across divisions using our WebSocket or HTTP webhook endpoints. The SDK handles connection pooling, automatic reconnection, and payload verification.
const stream = zenth.subscribe([
'energy.grid.anomaly',
'aerospace.satellite.telemetry',
'finance.trust.clearing'
]);
stream.on('data', (event) => {
console.log(`[${event.division}] ${event.type}:`, event.payload);
});
stream.on('error', (err) => {
console.error('Stream disconnected', err);
});
Need Help?
Our developer support team is available 24/7 via Discord, email, and the community forum. For production-critical issues, contact your dedicated technical account manager.