go-genius is a Go client library for accessing the Genius API
go get github.com/tsirysndr/go-genius
Import the package into your project.
import "github.com/tsirysndr/go-genius"
Construct a new Genius client, then use the various services on the client to access different parts of the Genius API. For example:
client := genius.NewClient("<YOUR ACCESS TOKEN>")
res, _ := client.Search.Get("Kendrick Lamar")
hits, _ := json.Marshal(res)
fmt.Println(string(hits))
Currently the following services are supported:
- Search
- Get artist
- Get documents (songs) for the artist specified
- Get referents
- Get annotation
- Get song
- Web Pages
👤 Tsiry Sandratraina
- Twitter: @tsiry_sndr
- Github: @tsirysndr
Give a ⭐️ if this project helped you!