hyperpublic-0.1.1: A thin wrapper for the Hyperpublic API

Web.Hyperpublic.Offers

Description

Wrappers for calling the methods of the Hyperpublic Geo Deals and Events endpoint.

Synopsis

Documentation

showSource

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/

findSource

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/