Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.21 KB

readme.md

File metadata and controls

38 lines (27 loc) · 1.21 KB

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