Skip to content

arjndr/albumart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Golang AlbumArt

Simple album art grabbing library that grabs album artwork from iTunes Store

Get the package

go get github.com/arjndr/albumart.go

Examples

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

API

albumart.GetArtwork(ArtistName, AlbumSongName) - func : Returns string (URL) or "Not Found" on 0 results

  • ArtistName - String : Artist's name
  • AlbumSongName - String : Album/Song name

Related

License

This library uses Apple's search API. You should read Apple's legal terms for more.

MIT © 2018 - 2019 Akash Rajendra

Releases

No releases published

Packages

No packages published

Languages