Skip to main content

KNMI hourly data API

Project description

KNMI weather data API

This project is a simple API over the historical weather data information updated daily by KNMI.

Installation

Use the package manager pip to install.

pip install KNMIdata

Usage

from KNMIData import KNMI

# When download set to true it will remove and download files. 
knmi = KNMI(data_type='hourly', download=True)

# If hourly data files are already downloaded
knmi = KNMI()

# returns station data by station id
df = knmi[277]

# returns closest station data by postcode
df = knmi.find_df('1092AX')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

KNMIdata-1.0.2.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

KNMIdata-1.0.2-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

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