nstratos / go-hummingbird

Go library for accessing the Hummingbird.me API: https://github.com/hummingbird-me/hummingbird/wiki/API-v1-Methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Go library for accessing the Hummingbird.me API: https://github.com/hummingbird-me/hummingbird/wiki/API-v1-Methods

License:MIT License


Languages

Language:Go 100.0%