pyluchtmeetnet 0.1.3

Creator: codyrutscher

Last updated:

Add to Cart

Description:

pyluchtmeetnet 0.1.3

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)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.