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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.10.2.0, 0.10.3.0
Change log changelog.md
Dependencies aeson, base (>=4.6 && <5.0), bytestring, containers, either, http-client, http-client-tls, http-types, mtl (>=2.2.1), network, old-locale, random (>=1.1), text, time, transformers (>=0.4.0.0), 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 2015-09-08T16:41:38Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 30106 total (181 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-08 [all 1 reports]

Readme for pinboard-0.8.10

[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