Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.8 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.8 KB

go-coverart

Build Status GoDoc

A simple Go package to get a track, artist or album artwork art from external APIs like Last.fm, Spotify, Itunes Search, etc...

Important: This package is strictly for a non-commercial use.

Install

Full package

go get -u github.com/piraveen/go-coverart

## Commands A full Go documentation is available for this package here.

  • Importing
import "github.com/piraveen/go-coverart"
  • Setup Last.fm
lastfm, err := coverart.LastFm("LASTFM_APIKEY")

Then follow the Last.fm Helper methods

  • Setup Itunes
itunes := coverart.Itunes()

Then follow the Itunes Helper methods

  • Setup Spotify
spotify := coverart.Spotify()

Then follow the Spotify Helper methods

Examples

You can get some sample code for testing from this file.

Documentation

You can read the package in documentation details in Godoc.

Feedback

If you have any suggestions or improvements, please do open an issue here.

Cheers :)