Skip to content

yokimbo/pinboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Package pinboard

import "github.com/imwally/pinboard.go"

Overview

Package pinboard implements a golang wrapper for the pinboard api.

Example

// initialise a new pinboard post
var p pinboard.Post

// set pinboard authentication token
p.Token = "username:TOKEN"

// add a new bookmark
p.Url = "https://golang.org"                     // required
p.Description = "The Go Programming Language"   // required

// encode the post into an api GET request URL.
p.Encode()

// add the bookmark
err := p.Add()
if err != nil {
    fmt.Println(err)
}

About

Simple pinboard golang package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%