Skip to content

v3.2.0

Compare
Choose a tag to compare
@naomiperez naomiperez released this 14 Feb 22:54
· 74 commits to master since this release
5b73ea9

What's Changed

  • Adds a new SmartcarVehicleRequest class, and Vehicle class method `request() that allow for making flexible requests to Smartcar vehicle endpoints, including brand specific endpoints.

Example:

SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
  .method("GET")
  .path("odometer")
  .build();

VehicleResponse odometer = vehicle.request(request);

Full Changelog: v3.1.2...v3.2.0