GET
/
{vin}
/
idles
Get Idles
curl --request GET \
  --url https://api.tessie.com/{vin}/idles \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": 1393231,
      "started_at": 1626454383,
      "ended_at": 1626461947,
      "location": "8055 Dean Martin Drive, Las Vegas, Nevada 89139, United States",
      "latitude": 36.042928,
      "longitude": -115.187801,
      "starting_battery": 66,
      "ending_battery": 63,
      "rated_range_used": 8.29,
      "climate_fraction": 1,
      "sentry_fraction": 0,
      "energy_used": 2.64
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vin
string
required

The associated VIN.

Query Parameters

distance_format
enum<string>
default:mi

Whether to return data in miles or kilometers.

Available options:
mi,
km
format
enum<string>
default:json

Whether to output the results in JSON or CSV.

Available options:
json,
csv
timezone
string
default:UTC

The IANA timezone name.

from
number

The start of the timeframe. Unix timestamp in seconds.

to
number

The end of the timeframe. Unix timestamp in seconds.

origin_latitude
number

The latitude of the parking spot.

Example:

37.4925

origin_longitude
number

The longitude of the parking spot.

Example:

121.9447

origin_radius
number

The radius from the parking spot, in meters.

Example:

80

exclude_origin
boolean
default:false

Whether to include the parking spot.

limit
number

The maximum number of results.

Response

200 - application/json

Success