Skip to main content

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


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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

pyluchtmeetnet-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pyluchtmeetnet-0.1.2.tar.gz.

File metadata

  • Download URL: pyluchtmeetnet-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pyluchtmeetnet-0.1.2.tar.gz
Algorithm Hash digest
SHA256 477c93c4c3dc84c00207e3cab24d23832ad0888a0281b39ad98e5f8c019d6b77
MD5 419485bf5d8cacfde18d566a848f09f5
BLAKE2b-256 e4636e1cca762536bf17aad430e487ead58ae3a749dca7eb64ccb046e362c276

See more details on using hashes here.

File details

Details for the file pyluchtmeetnet-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyluchtmeetnet-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1eb217afc1e25ddc9bb28af9b00db4a59f82cd421ed48eda7a03683726b9bf4
MD5 6199f63e8bd9ff465cb1907efd0eac08
BLAKE2b-256 70590c0715a8248e9a2b5431fc91eb4fa2ff821883bda20d6d145a6eb0da6945

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page