Traccar API - possible to GET totalMileage?

Hein 3 years ago

Hello forum, I need to get the totalMileage values for every vehicle in my account using API. IS this possible?

When getting from http://{host}:{port}/api/devices it lists all devices with SOME info fields, but not totalMileage for each vehicle.

Anton Tananaev 3 years ago

You have to use positions endpoint to get total distance.

Hein 3 years ago

Thanks Anton!

vasanth 2 years ago

Traccar api get no of of Passengers per mile