Simple album art grabbing library that grabs album artwork from iTunes Store
go get github.com/arjndr/albumart.go
package main
import (
"github.com/arjndr/albumart.go"
"fmt"
)
func main(){
artWork := albumart.GetArtwork("System Of A Down", "Toxicity")
fmt.Printf(artWork)
}
// logs https://is3-ssl.mzstatic.com/image/thumb/Music128/v4/f7/7d/78/f77d7847-9831-fead-de75-5e17468f14ac/source/1200x1200bb.jpg
albumart.GetArtwork(ArtistName, AlbumSongName)
- func
: Returns string (URL) or "Not Found" on 0 results
ArtistName
- String : Artist's nameAlbumSongName
- String : Album/Song name
- itunes-albumart - Node.js alternative for this library
- albumart.js - Browser compatible library using Last.fm API
This library uses Apple's search API. You should read Apple's legal terms for more.
MIT © 2018 - 2019 Akash Rajendra