curl "https://api.smartcar.com/v2.0/vehicles/{id}/location" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"latitude": 37.4292,
"longitude": 122.1381
}
Returns the vehicle’s last known location.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/location" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"latitude": 37.4292,
"longitude": 122.1381
}
read_location
curl "https://api.smartcar.com/v2.0/vehicles/{id}/location" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"latitude": 37.4292,
"longitude": 122.1381
}
Was this page helpful?