Skip to content

umahmood/pinboard

Repository files navigation

Pinboard

Package pinboard is a GO library, which uses the Pinboard API to interact programatically with your bookmarks, notes and other Pinboard data.

Note: This project is not affiliated with Pinboard.in in any way.

Installation

You will need to set up and configure the Go tool chain.

go get github.com/umahmood/pinboard

cd $GOPATH/src/github.com/umahmood/pinboard

go test ./...

Usage

import (
    "fmt"
    "github.com/umahmood/pinboard"
)
pin := pinboard.New()
token, err := pin.Auth("username:TOKEN")
if err := nil {
    ...
}
// get all tags in users account.
tags, err := pin.Tags()
if err := nil {
    ...
}
for _, t := range tags {
    fmt.Println("Name:", t.Name, "# of tagged:", t.Count)
}

Documentation

http://godoc.org/github.com/umahmood/pinboard

License

See the LICENSE file for license rights and limitations (MIT).

About

Pinboard a Go library which uses the Pinboard API to interact programatically with your bookmarks, notes and other Pinboard data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages