Helios Developers

Examples

List the observations that identify wet or snow-covered roads
Helios APIs: Observations (Search)

When roads are wet, drivers may experience slick surfaces, road spray, or areas of pooling water that could lead to hydroplaning. We can query for these conditions using the Searth method in the Observations API and specifying a value of 3 for the sensors[road_weather] attribute:

https://api.helios.earth/v1/observations?sensors[road_weather]=3

The results that are returned will be sorted with the newest observations listed first. To identify roads that are partially or fully covered with snow, we can specify a sensor value of 6 or 10, respectively, instead:

Partial snow
https://api.helios.earth/v1/observations?sensors[road_weather]=6
Full snow
https://api.helios.earth/v1/observations?sensors[road_weather]=10

Using range queries, we can also identify roads that are either partially or fully covered in snow using a single query:

https://api.helios.earth/v1/observations?sensors[road_weather][min]=6