Using the DDDLAB API it is possible to temporarily upload DDD file from the driver's card to our server, which then can provide preview of the data in the file. By a followup query it is possible to request data analysis for a given time frame and get the evaluation result which then can be processed at Your portal to an arbitrary output format. Each user of our service has a unique access token, which can be used to authenticate with our server and also is used as identification for the monthly billing of our service usage.
- generation 2 driver's cards are also supported
- file signatures check included
- output data in JSON format
Example of an output section with an infringement:
"id": "Analysis by Directive (EC) 15\/2002, Analysis by Regulation (EC) 561\/2006", "infringements": [ { "date": "2016-08-06T07:26:00+02:00", "type": "1000", "severity": "3", "rule_id": "Rule_561_2006_6_1", "begin": "2016-08-04T14:14:00+02:00", "end": "2016-08-06T07:26:00+02:00", "allowed": { "semantic": "2", "type": "2", "value": "10:00:00" }, "measured": { "semantic": "2", "type": "2", "value": "13:02:00" } },
Example output part with duration of activity, breaks, etc.:
{ "begin": "2016-08-31T14:36:00+02:00", "end": "2016-09-01T06:31:00+02:00", "duration": "15:55:00", "times": { "driving": "06:02:00", "work": "00:41:00", "standby": "00:00:00", "break": "09:12:00", "unknown": "00:00:00", "workshift_total": "08:42:00", "workshift_night": "03:13:00", "workshift_safety_breaks": "01:19:00", "workshift_short_breaks": "00:40:00", "workshift_excluded": "07:13:00", "worked_total": "07:28:00", "worked_night": "02:54:00", "worked_safety_breaks": "00:45:00", "rest": { "rest_time": "08:10:00", "daily_rest_time": "08:05:00", "daily_type": "13", "weekly_type": "0" } },
The OpenAPI 3.0 specification for DDDLAB API version 2 is now available, which, in addition to minor modifications to some query parameters, also allows the conversion of DDD data files from vehicles and driver’s cards. It is now possible to simply provide the evaluated files for viewing or manual analysis in HTML format with similar output to DDD2HTML or in JSON/XML format corresponding to DDD2XML output.
Specification (yaml) / documentation (html) .
OpenApi 3.0.0 allows you produce, consume and visualize RESTful style web services. Using automated tools you can quickly embed these queries into your solution. We also provide open source c++ wrapper for libCurl library .
For additional information regarding the implementation please contact us via email: info (at) canlab.cz.