v1

latestOpenAPI 3.0.0Apache 2.02026-07-26916119.7 KB
Vehicle Data

Get Drives

Returns the drives for a vehicle.

get/{vin}/drives

Query parameters

distance_format'mi' | 'km'

Whether to return data in miles or kilometers.

temperature_format'c' | 'f'

Whether to return data in Fahrenheit or Celsius.

fromnumber

The start of the timeframe. Unix timestamp in seconds.

tonumber

The end of the timeframe. Unix timestamp in seconds.

timezonestring

The IANA timezone name.

origin_latitudenumber
Example:37.4925

The latitude of the starting point.

origin_longitudenumber
Example:121.9447

The longitude of the starting point.

origin_radiusnumber
Example:80

The radius from the starting point, in meters.

exclude_originboolean

Whether to exclude the starting point.

destination_latitudenumber
Example:37.4925

The latitude of the ending point.

destination_longitudenumber
Example:121.9447

The longitude of the ending point.

destination_radiusnumber
Example:80

The included radius from the ending point, in meters.

exclude_destinationboolean

Whether to exclude the ending point.

tagstring
Example:Work

The tag associated with the drive.

exclude_tagboolean

Whether to exclude the tag.

driver_profilestring
Example:John

The driver profile associated with the drive.

exclude_driver_profileboolean

Whether to exclude the driver profile.

format'json' | 'csv'

Whether to output the results in JSON or CSV.

minimum_distancenumber
Example:0.1

The minimum distance driven, in miles.

limitnumber

The maximum number of results.

Response

Success