| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.OpenWeatherMap.Client
Description
High-level client functions perfoming requests to OpenWeatherMap API.
Synopsis
- data Location
- getWeather :: String -> Location -> IO (Either ClientError CurrentWeather)
Documentation
Various way to specify location.
Arguments
| :: String | API key. |
| -> Location | |
| -> IO (Either ClientError CurrentWeather) |
Make a request to OpenWeatherMap API and return current weather in given location.