Web.Hyperpublic.Places
Description
Wrappers for calling the methods of the Hyperpublic Places+ endpoint.
- show :: HpAuth -> ByteString -> IO Value
- find :: HpAuth -> SimpleQuery -> IO Value
- create :: HpAuth -> SimpleQuery -> IO Value
Documentation
Arguments
:: HpAuth | API authorization |
-> ByteString | The id of the place to be returned |
-> IO Value | JSON output |
Call the show method of the Places+ endpoint. API documentation at http://developer.hyperpublic.com/places/show-a-place/
Arguments
:: HpAuth | API authorization |
-> SimpleQuery | Query parameters |
-> IO Value | JSON output |
Call the find method of the Places+ endpoint. API documentation at http://developer.hyperpublic.com/offers/find-offers/
Arguments
:: HpAuth | API authorization |
-> SimpleQuery | Query parameters |
-> IO Value | JSON output |
Call the create method of the Places+ endpoint. API documentation at http://developer.hyperpublic.com/places/create-a-place/