hyperpublic-0.1.1: A thin wrapper for the Hyperpublic API

Web.Hyperpublic.Categories

Description

Wrappers for calling the methods of the Hyperpublic Categories endpoint.

Synopsis

Documentation

showSource

Arguments

:: HpAuth

API authorization

-> ByteString

The id of the category to be returned

-> IO Value

JSON output

Call the show method of the Categories endpoint. API documentation at http://developer.hyperpublic.com/categories/show-category/

findSource

Arguments

:: HpAuth

API authorization

-> IO Value

JSON output

Call the find method of the Categories endpoint, which simply lists the full category hierarchy. (The endpoint does not currently support more specific queries.) API documentation at http://developer.hyperpublic.com/categories/all-categories/