Skip to content

tsirysndr/go-genius

Welcome to go-genius 👋 *** Work In Progress ***

GitHub code size in bytes GitHub go.mod Go version GitHub closed pull requests GitHub pull requests GitHub issues GitHub contributors License: BSD Twitter: tsiry_sndr

go-genius is a Go client library for accessing the Genius API

🚚 Install

go get github.com/tsirysndr/go-genius

🚀 Usage

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))

Coverage

Currently the following services are supported:

  • Search
  • Get artist
  • Get documents (songs) for the artist specified
  • Get referents
  • Get annotation
  • Get song
  • Web Pages

Author

👤 Tsiry Sandratraina

Show your support

Give a ⭐️ if this project helped you!

Releases

No releases published

Packages

No packages published

Languages