-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Library for interacting with the Weather Underground JSON API. -- -- Weather is a simple library for interacting with the Weather -- Underground JSON API. It is not complete, but it may be useful still. @package Weather @version 0.1.0.0 module Web.Weather -- | Observation data. data Observation Observation :: String -> String -> Float -> String -> String -> String -> Observation -- | The time the observation was taken. [obsTime] :: Observation -> String -- | Description of the weather. [obsWeather] :: Observation -> String -- | Temperature (F). [obsTemp] :: Observation -> Float -- | Relative humidity (%). [obsRelHumidity] :: Observation -> String -- | Wind condition. [obsWind] :: Observation -> String -- | What it feels like. [obsFeelsLike] :: Observation -> String -- | API key. Obtain yours at http://wunderground.com. type APIKey = String -- | Get the current weather conditions of a city. getConditions :: APIKey -> String -> String -> IO (Maybe Observation) instance GHC.Show.Show Web.Weather.Observation instance Data.Aeson.Types.Class.FromJSON Web.Weather.Observation