Safe Haskell | None |
---|---|
Language | Haskell2010 |
A Haskell implementation of the Swiss Meteo Net data API
OpenData SMN is a REST API for SwissMetNet data. It's developed in the open supporting the OpenData.ch initiative. Free OpenData hosting is provided by Netcetera at http://data.netcetera.com/smn.
The actual data for 10 min intervals is provided by opendata.swiss, the Swiss open government data portal.
- data SmnRecord = SmnRecord {}
- data SmnStation = SmnStation {}
- urlDataAll :: Text
- urlDataStat :: Text -> Text
- urlDocuStat :: Text -> Text
Types
A Swiss Meteo Network data SmnRecord. It contains the meteo information of a 10 min interval of a Swiss meteo station.
Note: All Text
fields may contain empty strings.
SmnRecord | |
|
data SmnStation Source #
A Swiss Meteo Network data station.
Note: All Text
fields may contain empty strings.
SmnStation | |
|
Functions that return URLs
urlDataAll :: Text Source #
Return the URL to retrieve all meteo data from all stations for the last 10 minutes.
Return the URL to retrieve the meteo data for a given station for the last 10 minutes.
Return the URL to retrieve the documentation sheet for a given station