Seepark API documentation¶
-
GET/api/(version)/openweathermap/city/(cityid)¶ List all data found for a city
-
GET/api/(version)/sensor/type/(sensor_type)¶ Return all data for a specific sensor type
URL parameters:
begin=<datetime>, optional, format like2018-05-19T21:07:53end=<datetime>, optional, format like2018-05-19T21:07:53mode=<full|consolidated>, optional. return all rows (default) or with lower resolution (for charts)format=<default|c3>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js
-
GET/api/(version)/sensor/id/(sensor_id)¶ Return all data for a specific sensor
URL parameters:
begin=<datetime>, optional, format like2018-05-19T21:07:53end=<datetime>, optional, format like2018-05-19T21:07:53mode=<full|consolidated>, optional. return all rows (default) or with lower resolution (for charts)format=<default|c3>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js
-
GET/api/(version)/openweathermap/cities¶ List all city IDs found in the database
-
GET/report/(int: year)/(int: month)¶ Report for given year (4 digits) and month (2 digits)
-
GET/api/(version)/sensors/¶ List all sensors found in the database