pinboard: Access to the Pinboard API

[ library, mit, network-apis ] [ Propose Tags ]

The Pinboard API is a way to interact programatically with your bookmarks, notes and other Pinboard data. This library wraps the API exposing functions and data structures suitable for usage in Haskell programs.

Example:

import Pinboard

main :: IO ()
main = do
  let config = fromApiToken "api token"
  result <- runPinboard config $ getPostsRecent Nothing Nothing
  case result of
    Right details -> print details
    Left pinboardError -> print pinboardError

[Skip to Readme]
Versions [faq] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.6.1, 0.6.2, 0.6.2.1, 0.6.2.2, 0.6.3, 0.6.4, 0.6.5, 0.7.5, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.8.10, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.12.1, 0.9.12.2, 0.9.12.3, 0.9.12.4, 0.9.12.5, 0.9.12.6, 0.9.12.7, 0.9.12.8, 0.9.12.9, 0.9.12.10, 0.9.12.11, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.10.1.2, 0.10.1.3, 0.10.1.4
Change log changelog.md
Dependencies aeson, base (>=4.6 && <5.0), bytestring, containers, either, http-client, http-client-tls, http-types, mtl (>=2.1.3.1), network, old-locale, random (>=1.1), text, time, transformers, unordered-containers, vector [details]
License MIT
Copyright Copyright (c) 2015 Jon Schoning
Author Jon Schoning
Maintainer jonschoning@gmail.com
Category Network APIs
Home page https://github.com/jonschoning/pinboard
Bug tracker https://github.com/jonschoning/pinboard/issues
Source repo head: git clone git://github.com/jonschoning/pinboard.git
Uploaded by jonschoning at Tue Sep 8 03:51:52 UTC 2015
Distributions NixOS:0.10.1.4, Stackage:0.10.1.4
Downloads 13859 total (401 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-10-18 [all 2 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for pinboard-0.8.6

[back to package description]

Pinboard Hackage

The Pinboard API is a way to interact programatically with your bookmarks, notes and other Pinboard data. This library wraps the API exposing functions and data structures suitable for usage in Haskell programs.

Hackage page and Haddock documentation

http://hackage.haskell.org/package/pinboard

Pinboard Api documentation

https://pinboard.in/api/

Examples:

getPostsRecent

{-# LANGUAGE OverloadedStrings #-}

import Pinboard

main :: IO ()
main = do
  let config = fromApiToken "api token"
  result <- runPinboard config $ getPostsRecent Nothing Nothing
  case result of
    Right details -> print details
    Left pinboardError -> print pinboardError

Modules

Pinboard.Client

Executes the methods defined in Pinboard.Api

Pinboard.Api

Provides Pinboard Api Methods

Pinboard.ApiTypes

Pinboard Data Structures returned by the Api