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 details)
Built Distribution
File details
Details for the file pyluchtmeetnet-0.1.0.tar.gz
.
File metadata
- Download URL: pyluchtmeetnet-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab01b24e89dc55c5df256d7af3cd9a880a2314be6ca475e72c8d8cef4e4f682 |
|
MD5 | f99d469293fd3f4d68f925f71b6df9cb |
|
BLAKE2b-256 | ceb42ff461ea0a24dbf672ae6f4ff023369701610abf981c22e74d673cdf5e5a |
File details
Details for the file pyluchtmeetnet-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyluchtmeetnet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34dff6e0682a8a0ee671e2b3d73d10958389899275fdba552129df481b723fa |
|
MD5 | 0503a3e25a15992bdffb76f9f4cf7325 |
|
BLAKE2b-256 | 263d1a26664b067a021fdf5eae5583fea704441fd717e3d7580841fc4476f02f |