/go-bitly

Bitly v3 client for Go. Work in progress.

Primary LanguageGoMIT LicenseMIT

go-bitly

Build Status Coverage Status GoDoc

Simple Bitly API v3 client for Go.

Work in progress

Usage

$ 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", ... }

Roadmap

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.

License

This library is distributed under the MIT license found in the LICENSE file.