A module for getting air quality data from Luchtmeetnet OpenAPI
Project description
pyluchtmeetnet
A python package to use the Luchtmeetnet 2020 OpenAPI.
Installation
$ pip3 install pyluchtmeetnet
Code example
from pyluchtmeetnet import Luchtmeetnet
latitude = 52.0808
longitude = 4.3063
lmn = Luchtmeetnet()
# Get nearest station
station = lmn.get_nearest_station_data(latitude, longitude)
print(station)
# Get latest LKI from station
lki = lmn.get_latest_station_lki(station["number"])
print(lki)
# Get latest measurements from station
measurements = lmn.get_latest_station_measurements(station["number"])
print(measurements)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyluchtmeetnet-0.1.3.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for pyluchtmeetnet-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014036663d2796a0acb7ead82c251330ed8ca2a6cc1c4debdf5e2f06a2e939ea |
|
MD5 | fe63edfdf141cedfae980a15776c8b13 |
|
BLAKE2b-256 | 074d85e697552bc9514433ed301d4d88ddba99b511f3a98c998befd882d60a53 |