Web.Hyperpublic.Offers
Description
Wrappers for calling the methods of the Hyperpublic Geo Deals and Events endpoint.
- show :: HpAuth -> ByteString -> IO Value
- find :: HpAuth -> SimpleQuery -> IO Value
Documentation
Arguments
| :: HpAuth | API authorization |
| -> ByteString | The id of the offer to be returned |
| -> IO Value | JSON output |
Call the show method of the Geo Deals and Events endpoint. API documentation at http://developer.hyperpublic.com/offers/show-an-offer/
Arguments
| :: HpAuth | API authorization |
| -> SimpleQuery | Query parameters |
| -> IO Value | JSON output |
Call the find method of the Geo Deals and Events endpoint. API documentation at http://developer.hyperpublic.com/offers/find-offers/