Developers
All data collected by SmartRoadSense users is accessible through data access APIs.
Currently, a single data access end-point is provided. Like in the case of Open Data provided through the website, currently only aggregated roughness data points are provided.
Aggregated data points in region
GET http://smartroadsense.it/bb/<xmin>/<ymin>/<xmax>/<ymax>/
Retrieves a list of aggregated data points from a geographical region.
The path includes 4 parameters: xmin
and ymin
, coordinates of the region’s bottom-left corner, xmax
and ymax
coordinates of the region’s top-right corner.
The end-point is constrained to regions no larger than 2.000 km2.
Sample results:
- Success, HTTP #200,
- Region too big, HTTP #400,
- Parameters not valid, HTTP #400,
- Internal error, HTTP #500,
Work in progress
The data access API for SmartRoadSense is currently under development. Please take note that the APIs documented on this page are guaranteed to change in the future.