Sha256: 6801fab43e9ed854f89a9016627def5067d16fe85fb05cb9fd3d653d05a85a52

Contents?: true

Size: 503 Bytes

Versions: 13

Compression:

Stored size: 503 Bytes

Contents

# Drive State

## GET `/api/1/vehicles/{id}/data_request/drive_state`

Returns the driving and position state of the vehicle.

### Response

```json
{
  "response": {
    "gps_as_of": 1543187664,
    "heading": 8,
    "latitude": 33.111111,
    "longitude": -88.111111,
    "native_latitude": 33.111111,
    "native_location_supported": 1,
    "native_longitude": -88.111111,
    "native_type": "wgs",
    "power": 0,
    "shift_state": null,
    "speed": null,
    "timestamp": 1543187666472
  }
}
```

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tesla_api-3.1.0 docs/vehicle/state/drivestate.md
tesla_api-3.0.7 docs/vehicle/state/drivestate.md
tesla_api-3.0.6 docs/vehicle/state/drivestate.md
tesla_api-3.0.5 docs/vehicle/state/drivestate.md
tesla_api-3.0.4 docs/vehicle/state/drivestate.md
tesla_api-3.0.3 docs/vehicle/state/drivestate.md
tesla_api-3.0.2 docs/vehicle/state/drivestate.md
tesla_api-3.0.1 docs/vehicle/state/drivestate.md
tesla_api-3.0.0 docs/vehicle/state/drivestate.md
tesla_api-2.0.0 docs/vehicle/state/drivestate.md
tesla_api-1.5.0 docs/vehicle/state/drivestate.md
tesla_api-1.4.1 docs/vehicle/state/drivestate.md
tesla_api-1.4.0 docs/vehicle/state/drivestate.md