Skip to content
michaelcurrin edited this page Dec 1, 2019 · 22 revisions

Copied from: German APIs page

Accessing the API data

There are two domains where the same data is served.

We have some API endpoints to access the sensor data. The data is updated either every 5 minutes or every one minute due to performance reasons.

V1

  • http://data.sensor.community/static/v1/data.json - all measurements of the last 5 minutes for all sensors.
  • http://data.sensor.community/airrohr/v1/filter/{query} - all measurements of the last 5 minutes filtered by query
    • type={sensor type} : comma-separated list of sensor types, e.g. SDS011,BME280
    • area={lat,lon,distance} : all sensors within a max radius e.g. 52.5200,13.4050,10 (Berlin)
    • box={lat1,lon1,lat2,lon2} : all sensors in a 'box' with the given coordinates e.g. 52.1,13.0,53.5,13.5
    • country={country code} : comma-separated list of country codes. Example BE,DE,NL

Discontinued or moved:

  • /v1/sensor/{apiID}/ - all measurements of the last 5 minutes for one sensor.

V2

Seiten

Dokumentation

Protokolle

for more, see Protokolle

Clone this wiki locally