eCarUp API

To use the eCarUp API, you need an eCarUp Premium license.

The API (Application Programming Interface) is a collection of commands that enable different software applications to communicate with each other.

Preparation

Access data for authorization

To use the eCarUp API, proceed as follows:

4. for the authorization you need user.read and device.read. Then click on create/save.

5. important, a field with Client ID and Client Secret then appears. These are the access data for the API authorization. Save this access data somewhere safe.

The field only appears once.

Test eCarUp Swagger

With Swagger you can execute and test the current commands.

Go to the eCarUp Public API Swagger and enter the access data you received in step 5.

Example

The command "get/v1/history/station/{id}" can also be used to extract driver statistics for each charging station.

Driver statistics with known driver

Driver statistics with unknown driver

Code example 

can be found at: https://github.com/eCarUp/ecarup-api-examples