Partners API Documentation


The DataDrive partners API allows you to retrieve valuable data from DataDrive, fuel usage, km, engine failure and more.
The API is based on REST principles, so it's very easy to establish a connection to the data and test your applications. You can use your browser to access the URLs and choose your favorite programming tools to interact with the API.

Here on the left you can see the calls we are supporting today. If you have any questions or thoughts regarding the API functions then don't hesitate to send us line at info@datadrive.is.

Happy coding :-)




Getting started

Base URL
All API URLs referenced in this documentation start with the following base part:

https://PartnersAPI.datadrive.is/
Authentication
When you sign up for an account, you are given an API key. You authenticate to the DataDrive API by providing your API key in the request.


Get waste data

This call will give back the waste data from the customer who represent the cID.

HTTP GET
To make a call, make an HTTP GET request to this URL:

https://PartnersAPI.datadrive.is/getwastedata?cid={CustomerID }&key={Your API key}&from={from time}&to={to time}

GET Parameters
You must set the following parameters:

Parameter Description
cID (required) This is customer ID you will get from DataDrive's staff
Key (required) Your API key
from (required) from time
to (required) to time






Get fuel data

This call will give back the fuel data for the customer who represent the Social ID.

HTTP GET
To make a call, make an HTTP GET request to this URL:

https://PartnersAPI.datadrive.is/getfueldata?Socialid={Social ID}&key={Your API key}&from={from time}&to={to time}

GET Parameters
You must set the following parameters:

Parameter Description
Socialid (required) This is social ID of the customer
Key (required) Your API key
from (required) from time
to (required) to time