TypeScript SDK, REST API with 220+ controllers, real-time WebSockets. Integrate fleet, tracking and taxi data into your applications.
43 resources · 211 docs · Bearer auth · invitation-only access
The official SDK wraps authentication, position polling, WebSockets and every business module. Auto-injected credentials, strict types, Axios interceptors.
import { MalambiSDK } from '@malambi/sdk'; const sdk = new MalambiSDK(); // Authentication await sdk.auth.login('user', 'password'); // Vehicles inside a group const vehicles = await sdk.locateGroups.getVehiclesByGroup(123); // Live positions over WebSocket sdk.live.on('position', (v) => { console.log(v.tag, v.loc); });
AuthManager + 7 business modules + Helper API client, wired to the server endpoints. Lazy-init, strict types, Axios interceptors.
Each module is lazy-instantiated on first use. Inherits from a common BaseModule (HTTP with auto-auth, date parsing, pagination).
Login, refresh, session restore, change password. Auto-injects tokens into every request.
Live positions over WebSocket, vehicle status, alerts, today's trips. Real-time callbacks.
Groups & vehicles: getGroups, getVehiclesByGroup, search, statistics.
67 reports across 9 categories (alarms, drivers, fleet, fuel…). PDF/XLS/CSV, email delivery.
Replay historical trips with time controls, playback speed, event markers.
Raw position history over a period. CSV export. Ideal for audits or BI.
Geofencing: create/list zones, entry/exit alerts, polygons & circles, hierarchy.
GetVehicles, GetDrivers, SmsSender, alarmpreview, camera, candata, chat, fueltools…
Recommended patterns for the major frameworks. Auth + session restore in one hook/composable/service.
// hooks/useMalambiAuth.ts import { useState, useEffect } from 'react'; import MalambiSDK from '@malambi/sdk'; export function useMalambiAuth() { const [sdk] = useState(() => new MalambiSDK({ baseUrl: process.env.REACT_APP_MALAMBI_URL, })); const [user, setUser] = useState(null); useEffect(() => { const stored = localStorage.getItem('malambi_session'); if (stored) { const s = JSON.parse(stored); sdk.restoreSession(s.token, s.user, s.expiresAt) .then(ok => ok && setUser(sdk.getCurrentUser())); } }, [sdk]); return { sdk, user }; }
More examples (12 snippets, live tracking, reports, mobile) on the DevPortal →
A single endpoint /Helper, hundreds of IRequest controllers. A simple, powerful pattern.
FleetMan core, plugins, tools library.
Each with its own API namespace.
Structured responses with total/rows for pagination.
# Simplified vehicle list GET /Helper?frm=GetVehiclesSimple # Geozones tree with checkboxes GET /Helper?frm=GetGeozonesTree&checkbox=1 # Send an SMS via SmsSender POST /Helper?frm=SmsSender &to=237699123456&text=Hello
PING/PONG, application-level, network detection, inter-server.
Disconnect detection, exponential retry up to 10 attempts.
Real-time positions, chat, alerts, presence, taxi rides.
Two protected spaces depending on your role — one for developers and integrators, the other for the Malambi team.
Full Malambi API documentation: 220+ IRequest controllers, TypeScript SDK, copy-paste snippets, sandbox access.
Internal Malambi-team console: blog management, marketing content, inbound contacts and DevPortal account moderation.
Request developer access — API keys plus access to the sandbox endpoints.
Get developer access