curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/battery" \ -H "Authorization: Bearer {token}" \ -X "GET"
{ "heaterOn": null, "maxRangeChargeCounter" : null, "notEnoughPowerToHeat" : true, "percentRemaining": 0.3, "percentRemainingUsable" : 0.29, "range": 40.5, "rangeEstimated": 39.01, "rangeIdeal" : 40.5 }
Returns all battery related data for a Tesla vehicle.
tesla
read_battery
Was this page helpful?