API Integration
Widgets
Real range and charging times
With our widget for real range and charging times you can easily and quickly display and advise your customers with data like real range by season and speed and charging times that include both home charging and DC/fast charging.
Installation
Step to step guide
1
Include the resources
Start by including the resources to your page. Include the Stylesheet inside the Head and the Javascript after the HTML
CSS
JS
2
Parameters
To get your widget to display data, there are some parameters that need to be filled in. The parameters are explained below. The parameters with a * must be filled in.
ID *
string
Insert the ID you have been sent.
Make *
string
Insert the name of the car brand.
Model *
string
Insert the name of the car model.
Variant *
string
Insert as empty
Battery *
string
Insert the size of the battery in Kwh.
HP *
string
Insert the number of horsepower of the car
Width *
string
Define the width of the widget in pixels. Minimum width is 320px. The width can also be defined as "100%" and will then fill the entire width
3
Insert widget to website
Place the widget on your website where you want it to be. It is important that you place it where you have access to the required data, such as: Make and model. In the ID field, enter the ID that was sent to you when you purchased access.