Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Observation = Observation {
- obsTime :: String
- obsWeather :: String
- obsTemp :: Float
- obsRelHumidity :: String
- obsWind :: String
- obsFeelsLike :: String
- type APIKey = String
- getConditions :: APIKey -> City -> State -> IO (Maybe Observation)
Documentation
data Observation Source
Observation data.
Observation | |
|
API key. Obtain yours at http://wunderground.com.
getConditions :: APIKey -> City -> State -> IO (Maybe Observation) Source
Get the current weather conditions of a city.