module
Version:
v0.0.0-...-0b47a9d
Opens a new window with list of versions in this module.
Published: Dec 19, 2017
License: MIT
Opens a new window with license information.
README
¶
genius-api

Golang bindings for Genius API.
Package is not ready to use yet and may change drastically in the future.
To get token visit https://genius.com/developers
Usage
import (
"fmt"
"github.com/gabyshev/genius-api/genius"
)
func main() {
accessToken := "token"
client := genius.NewClient(nil, accessToken)
response, err := client.GetArtistHTML(16775)
if err != nil {
panic(err)
}
fmt.Println(response.Response.Artist)
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.