API Records Data: Difference between revisions
From Cumulus Wiki
Jump to navigationJump to search
(Created page with "''Back to Cumulus MX Local API'' == All Time Records == The all time records data response is designed for displaying on a web page, the text is formatted with HTML codes...") |
(No difference)
|
Revision as of 14:30, 18 October 2020
Back to Cumulus MX Local API
All Time Records
The all time records data response is designed for displaying on a web page, the text is formatted with HTML codes.
The general format of the records data API request is as follows...
http://localhost:8998:/api/records/alltime/xxxxx
Where xxxx is the specific request as below:
temperature.json
Returns all time temperature records. An example response is given below...
{
"data": [
["High temperature", "34.6 °C", "25 July 2019 15:39"],
["Low temperature", "-12.5 °C", "20 December 2010 07:17"],
["High dew point", "23.7 °C", "25 July 2019 16:35"],
["Low dew point", "-13.5 °C", "20 December 2010 07:20"],
["High apparent temp", "38.7 °C", "25 July 2019 16:35"],
["Low apparent temp", "-15.8 °C", "20 December 2010 07:17"],
["High feels like", "37.6 °C", "25 July 2019 16:40"],
["Low feels like", "-12.5 °C", "20 December 2010 07:20"],
["High Humidex", "42.0 ", "12 August 2020 14:12"],
["Low wind chill", "-12.5 °C", "20 December 2010 07:17"],
["High heat index", "40.2 °C", "25 July 2019 16:35"],
["Highest minimum temp", "18.8 °C", "06 September 2016 04:07"],
["Lowest maximum temp", "-4.4 °C", "20 December 2010 00:00"],
["High daily temp range", "21.3 °C", "26 March 3912"],
["Low daily temp range", "0.9 °C", "19 January 2017"]
]
}
humidity.json
Returns all time humidity records. An example response is given below...
{
"data": [
["High humidity", "100 %", "23 January 2010 01:10"],
["Low humidity", "17 %", "25 March 2017 14:19"]
]
}
pressure.json
{
"data": [
["High pressure", "1048.5 hPa", "20 January 2020 00:09"],
["Low pressure", "962.9 hPa", "15 February 2014 00:13"]
]
}
wind.json
{
"data": [
["High gust", "53.0 mph", "12 February 2014 17:32"],
["High wind speed", "25.0 mph", "12 February 2014 17:35"],
["High daily windrun", "352.9 miles", "31 March 2015"]
]
}
rain.json
{
"data": [
["High rain rate", "230.4 mm/hr", "29 April 2016 01:52"],
["High hourly rain", "29.0 mm", "16 June 2016 16:09"],
["High daily rain", "44.6 mm", "16 June 2016"],
["Highest monthly rainfall", "170.6 mm", "October 2013"],
["Longest dry period", "26 days", "12 July 2018"],
["Longest wet period", "33 days", "19 January 2014"]
]
}