Simple Bitly API v3 client for Go.
Work in progress
$ go get github.com/zpnk/go-bitly
import "github.com/zpnk/go-bitly"
b := bitly.New("<token>")
shortURL, err := b.Links.Shorten("https://golang.org/")
// bitly.Link{URL:"https://bit.ly/2scFxid", ... }
The goal of this library is to provide a simple, well tested means of working with the complete Bitly API. Coverage and consistency with the official docs is a top priority. To that end, contributions are welcome and encouraged! Calling and testing patterns have been established so adding support for endpoints should be relatively straightforward.
This library is distributed under the MIT license found in the LICENSE file.