Skip to main content
  • Python: pip install truckaurbus, then Truckaurbus("tab_live_...") (or set TRUCKAURBUS_API_KEY).
  • TypeScript: npm install truckaurbus, then new Truckaurbus("tab_live_..."); Node 18 and up, or the browser’s fetch behind your own server (keep the key on a server).
Both raise on a non-2xx answer with the status, the gateway’s detail and the request id, keep the last X-RateLimit-* headers on the client, refuse a lead without consent and never print a key. Source: packages/ in the services repository.

The methods

One method per resource, the same name in both languages (TypeScript in camelCase, options as an object).

Examples

Python
TypeScript
A price the SDK returns is the API’s price: it carries its kind and its date, and your screen shows both.