Web.Hyperpublic.Offers
Description
See the usage examples in the Web.Hyperpublic documentation.
- show :: HpAuth -> ByteString -> IO Value
- find :: 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 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/