is there a api for that? thanks
You can get it from reports.
using trip reports, total the trip's distance to get the millage?
I would probably use summary report instead.
this one?https://www.traccar.org/api-reference/#tag/Reports/paths/~1reports~1summary/get
is there a api for that? thanks