API

UO API v1.1

Raw Sensor Data

Get Sensors

GET

Parameters

Sensor Type
Sensor Type
Subset the sensors by the variables that they record
FieldFormatExample
sensor_type Text NO2
Theme
Subset the sensor by their theme
FieldFormatExample
theme Text Weather
Sensor Broker
Subset the sensors by their broker/manufacturer
FieldFormatExample
broker Text Emote Air Quality Sensor
Time Slice
Last n days
Selects Data from the last n days
FieldFormatExample
last_n_days Integer 3
Start & End Times
Time slice for which data in queried
FieldFormatExample
starttime strftime "%Y%m%d%H%M%S" or "%Y%m%d" (http://strftime.org/) 20150101
endtime strftime "%Y%m%d%H%M%S" or "%Y%m%d" (http://strftime.org/) 20160101
Data
Data Variable
Variables to retrieve data for
FieldFormatExample
data_variable Text Temperature
Location
Polygon (Well Known Binary)
Polygon that the sensor falls in
FieldFormatExample
polygon_wkb Well-Known Binary (WKB) Format 01030000000100000005000000ffffffff3f9.....
Bounding Box
Bounding box the sensors fall inside off
FieldFormatExample
bbox_p1_x Float -1.4
bbox_p1_y Float 55.4
bbox_p2_x Float -1.2
bbox_p2_y Float 56.1

Example Use