Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 864 Bytes

File metadata and controls

38 lines (26 loc) · 864 Bytes

PyPI - Version PyPI - Status PyPI - Downloads

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)