semvec/pypi-packages huggingface dataset:
KNMIdata 1.0.2
KNMI hourly data API

# 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](https://pypi.org/project/KNMIdata/) to install.

```bash
pip install KNMIdata
```

## Usage

```python
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](https://choosealicense.com/licenses/mit/)