Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.37 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.37 KB

go-hummingbird

go-hummingbird is a Go library for accessing the Hummingbird.me API. Currently only v1 of the API is supported (v2 is still under development).

GitHub license GoDoc Coverage Status Build Status

Installation

This package can be installed using:

go get github.com/nstratos/go-hummingbird/hb

Usage

import "github.com/nstratos/go-hummingbird/hb"

Construct a new client, then use one of the client's services to access the different Hummingbird API methods. For example, to get the currently watching anime entries that are contained in the library of the user "cybrox":

c := hb.NewClient(nil)

entries, _, err := c.User.Library("cybrox", hb.StatusCurrentlyWatching)
// handle err

// do something with entries

See more examples.