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 hashes)
Built Distribution
Close
Hashes for swisshydrodata-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb96ddc885e0bd254b1d3b1a9411005b91a7ca00c66f0d99284da05e3565da8 |
|
MD5 | 9c6402cfc7aef5b71ea13908770cb8bf |
|
BLAKE2b-256 | db158749b9ab985f907d550f3939458e147021898012cb6e17063770c8716d47 |