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.
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
You can get some sample code for testing from this file.
You can read the package in documentation details in Godoc.
If you have any suggestions or improvements, please do open an issue here.
Cheers :)