rakuten-0.1.0.4: The Rakuten API in Haskell

Safe HaskellNone
LanguageHaskell2010

Rakuten.Client

Synopsis

Documentation

type AppId = Text Source #

Application ID

type RakutenClient = Record '["applicationId" :> Text, "affiliateId" :> Maybe Text, "callback" :> Maybe Text, "elements" :> [Text]] Source #

class Client a where Source #

By using type class, the same functions can be used for mock servers and local hosts.

Minimal complete definition

baseUrl, mkHeader

Associated Types

type ClientScheme a :: Scheme Source #

Methods

baseUrl :: a -> Url (ClientScheme a) Source #

mkHeader :: a -> Option scheme Source #