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 pymluchtmeetnet import Luchtmeetnet
latitude = 51.7
longitude = 4.5
# Get nearest station
station = Luchtmeetnet().get_nearest_station(latitude, longitude)
print(station)
# Get latest LKI from station
lki = Luchtmeetnet().get_latest_station_lki(station["number"])
print(lki)
# Get latest measurements from station
measurements = Luchtmeetnet().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.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pyluchtmeetnet-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34dff6e0682a8a0ee671e2b3d73d10958389899275fdba552129df481b723fa |
|
MD5 | 0503a3e25a15992bdffb76f9f4cf7325 |
|
BLAKE2b-256 | 263d1a26664b067a021fdf5eae5583fea704441fd717e3d7580841fc4476f02f |