Metadata-Version: 2.2
Name: swisshydrodata
Version: 0.2.2
Summary: A library to fetch data from the Swiss federal Office for Environment FEON
Author-email: bouni <bouni-github@owee.de>
Project-URL: Repository, https://github.com/Bouni/swisshydrodata
Project-URL: Documentation, https://github.com/Bouni/swisshydrodata
Project-URL: Releases, https://github.com/Bouni/swisshydrodata/releases
Platform: any
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENCE.md
Requires-Dist: requests>=2.32.3

# swisshydrodata

swisshydrodata is a library that allow you to get data from the
[Swiss Federal Office for the Environment FOEN](https://www.hydrodaten.admin.ch/en/).
To find a station near to you, use the
[list of stations](https://www.hydrodaten.admin.ch/en/messstationen-vorhersage)
on the FEON website.

The library uses a REST API which hands out the data because the FEON
does not allow to use their data service as backend.

The data update interval is limited to onece every 10 minutes by FEON,
so thats how often the API has new data available.

## Example

```python
from swisshydrodata import SwissHydroData

s = SwissHydroData()

# returns a list of station numbers
s.get_stations()

# returns all data available for station #2143
s.get_station(2143)

```
