haskmon-0.2.2.0: A haskell wrapper for PokeAPI.co (www.pokeapi.co)

Safe HaskellNone
LanguageHaskell2010

Haskmon.Resource

Synopsis

Documentation

getResource :: FromJSON a => Uri -> IO a Source

GET the resource from the URI and parse it into one of the Haskmon.Types. Fails if the parsing fails (ie: the library needs to be updated).