Welcome to the TRANSCEND SDK documentation.
- Quick Start Guide - Make your first API call
- Installation - Install the SDK
- Weather Along Route - Check weather on your route
- Calculate Tolls - Estimate toll costs
- Fuel Stations - Find gas stations nearby
- Driver Compliance - Monitor driver hours
- Overview - All modules and methods
from transcend_sdk import TranscendClient
client = TranscendClient(api_key="KEY")
# Get route
route = client.route.calculate(
origin_lat=40.42, origin_lon=-3.70,
destiny_lat=41.39, destiny_lon=2.17,
)
# Weather along route
weather = client.weather.route_weather(route.polyline)
print(f"Distance: {route.distance/1000}km")
print(f"Toll: {tolls.total_cost}€")