Skip to content

Go package to get a track / album covert art from apis like last.fm, spotify, itunes, etc...

License

Notifications You must be signed in to change notification settings

piraveen/go-coverart

Repository files navigation

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

About

Go package to get a track / album covert art from apis like last.fm, spotify, itunes, etc...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages