Introduction
Examples
Documentation
Sensors
Raw Sensor Data
Variables
Themes
Sensor Types
Sensor
Individual Raw Sensor Data
UO API v1.1
Individual Raw Sensor Data
Sensor Data
GET
http://uoweb3.ncl.ac.uk/api/v1.1/sensors/{sensor_name}/data/xlsx/
Parameters
Time Slice
Last n days
Selects Data from the last n days
Field | Format | Example |
---|---|---|
last_n_days | Integer | 3 |
Start & End Times
Time slice for which data in queried
Field | Format | Example |
---|---|---|
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 |
Last n Records
select the number of latest records to retrieve
Field | Format | Example |
---|---|---|
last_n_records | Integer | 200 |
Data
Data Variable
Variables to retrieve data for
Field | Format | Example |
---|---|---|
data_variable | Text | Temperature |
Example Use
http://uoweb3.ncl.ac.uk/api/v1.1/sensors/PER_BEE_54610/data/xlsx/?starttime=20180117&endtime=20180118