Skip to main content

Vehk SDKs Overview

Integrate with Vehk Axle using our official SDKs. Available for Python and JavaScript/TypeScript.

Quick Install

pip install vehk-axle

Features

FeaturePython SDKJavaScript SDK
Send Telemetry
Batch Telemetry
Get Predictions
List Predictions
Vehicle Management
TypeScript TypesN/A
Automatic Retries
Error Handling

Authentication

All SDK methods require an API key. Generate one from your Vehk Dashboard → Settings → API Keys.

# Python
from vehk_axle import VehkClient
client = VehkClient(api_key="vehk_your_api_key_here")
// JavaScript/TypeScript
import { VehkClient } from 'vehk-axle';
const client = new VehkClient('vehk_your_api_key_here');

Quick Example

from vehk_axle import VehkClient

client = VehkClient(api_key="vehk_your_key")

# Send telemetry data
client.telemetry.send(
vehicle_id="TRUCK-001",
sensor_data={
"speed": 65,
"rpm": 2500,
"coolant_temp": 92,
"fuel_level": 45
}
)

# Get ML prediction
prediction = client.predict(
vehicle_id="TRUCK-001",
sensor_data={"speed": 65, "rpm": 2500}
)

print(f"Health Score: {prediction.health_score}%")
print(f"Status: {prediction.health_status.value}")
print(f"Recommendations: {prediction.recommendations}")

Next Steps