GET Weather/Airquality/{ID}

Returns the current air quality data from a single location collected by Administration de l'Environnement.

Parameters

Parameter Example value Description
id aev:Lux-Bonnevoie Id integer of weather station as found in GET /Weather/AirQuality

Resource URL

https://api.tfl.lu/v1/Weather/Airquality/{ID}

Format

The response will be formatted as a GeoJSON Feature.

Object properties

Key Type Possible values Description
id string {provider}:{number} id of the weather station (built from provider and id of provider)
name string {name} name of the weather station
temp float - {temp}
- NULL
temperature in Celsius
pm10 float - {pm10}
- NULL
Particles on the order of 10 micrometers or less (in µg/m3)
no2 float - {no2}
- NULL
Nitrogen dioxide (in µg/m3)
o3 float - {o3}
- NULL
Ozone (in µg/m3)
so2 float - {so2}
- NULL
Sulfur dioxide (in µg/m3)
co float - {co}
- NULL
Carbon monoxide (in mg/m3)
last_update integer {last_update} last update of the data in Unix time (milliseconds)

Sample request & response

GET https://api.tfl.lu/v1/Weather/Airquality/aev:Lux-Bonnevoie

{
    "type": "Feature",
    "geometry": {
        "type": "Point",
        "coordinates": [
            6.137603,
            49.597692
        ]
    },
    "properties": {
        "id": "aev:Lux-Bonnevoie",
        "name": "Lux-Bonnevoie",
        "temp": null,
        "pm10": 40,
        "no2": 43,
        "o3": 29,
        "so2": 2.4,
        "co": 0.4,
        "last_update": "1487001600000"
    }
}

License

Please refer to Weather/AirQuality for information about the air quality data licensing.

Credits

Made by Daniel Duton & Thierry Degeling from ION Network Solutions.

Sponsored by Digital Lëtzebuerg.

results matching ""

    No results matching ""