Smartcar is an API that allows mobile and web applications to communicate with vehicles across brands (think “check odometer” or “unlock doors.”). This guide will help you get up and running with the Smartcar API.
In this integration guide, we will use the Android SDK to create an Android application that displays your car's information.
redirect_urialong with an authorization
code. This will be the custom scheme set on the application. The Smartcar iOS or Android SDK receives the authorization in a view listening for the specified custom scheme URI, and passes it to the Mobile Application.
codeto the Application's back-end service.
codealong with the Application's client id and client secret.
access_token, the Application can now send requests to the Smartcar API. It can access protected resources and send commands from and to the user's vehicle, such as retrieve the location and unlock the doors.
Follow along with our integration guide to build our simple web application.
This guide is split into 3 sections -
access_tokenrequired to send a request to Smartcar
Let's get building!