A library to fetch data from the Swiss federal Office for Environment FEON
Project description
swisshydrodata
swisshydrodata is a library that allow you to get data from the Swiss Federal Office for the Environment FOEN. To find a station near to you, use the list of stations 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
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)
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
swisshydrodata-0.2.1.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file swisshydrodata-0.2.1.tar.gz
.
File metadata
- Download URL: swisshydrodata-0.2.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5dfd9d867c79a5aa52025df8ed291fea0b5290f19bf3eb30390b91acb0b2eb1 |
|
MD5 | 22db35d6534507f7f43ef8ef52b005e8 |
|
BLAKE2b-256 | 56a35f53d42b9f6ced1ed0895607764d1933962694a0fe8e81cb98e9b58e4952 |
File details
Details for the file swisshydrodata-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: swisshydrodata-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb96ddc885e0bd254b1d3b1a9411005b91a7ca00c66f0d99284da05e3565da8 |
|
MD5 | 9c6402cfc7aef5b71ea13908770cb8bf |
|
BLAKE2b-256 | db158749b9ab985f907d550f3939458e147021898012cb6e17063770c8716d47 |