These bindings are currently are not stable and will most likely encounter errors, I will hopefully update these bindings to be more stable.
These Golang API bindings are for Jikan's REST API v3.
Almost all of the Jikan's API can be accessed through these bindings except the API's metadata reference.
To install: go get github.com/tritonmedia/jikan-go
To import: import "github.com/tritonmedia/jikan-go"
and use as jikan
Sample usage:
package main
import (
"fmt"
"github.com/tritonmedia/jikan-go"
)
func main() {
anime, _ := jikan.GetAnimeInfo(1)
fmt.Println(anime.Title)
}
Output:
Cowboy Bebop