pinboard-0.9.8: Access to the Pinboard API

Copyright(c) Jon Schoning, 2015
Maintainerjonschoning@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Pinboard.Client

Contents

Description

 

Synopsis

Config

fromApiToken :: String -> PinboardConfig Source #

Create a default PinboardConfig using the supplied apiToken

The PinboardConfig provides authentication via apiToken

Monadic

runPinboard :: (MonadIO m, MonadCatch m) => PinboardConfig -> PinboardT m a -> m (Either PinboardError a) Source #

Execute computations in the Pinboard monad

pinboardJson :: (MonadPinboard m, FromJSON a) => PinboardRequest -> m a Source #

Create a Pinboard value from a PinboardRequest w/ json deserialization

Single

Sending

Manager (http-client)

JSON Handling

Status Codes

Error Helpers

Client Dependencies