Album Art

💽 Fetch cover art for an artist or album: "The Beatles" ➔ http://path/to/beatles.jpg
Alternatives To Album Art
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Media115
21 days ago2mitSwift
A beautiful and declarative cross-platform wrapper API for Apple's PhotoKit
Album Art673513 months ago6February 18, 2020mitJavaScript
💽 Fetch cover art for an artist or album: "The Beatles" ➔ http://path/to/beatles.jpg
Soundcloud Lib59
29 days ago15June 21, 20205mitPython
Soundcloud API wrapper for tracks & playlists that doesn't require API credentials. Asyncio support.
Get_cover_art41
a month ago44June 02, 20225mitPython
Batch cover art downloader and embedder for audio files
Beets Rymgenre21
6 years ago2mitPython
A beets plugin to fetch genre information from rateyourmusic.com
Artget9
9 years ago1bsd-2-clausePython
Fetch album arts from Last.fm, has MPD support.
Get Genres From Discogs9
6 years ago5JavaScript
JS (JXA) script that fetches genres for iTunes using discogs.com
Vanilla Music Cover Fetch8
3 years ago1gpl-3.0Java
Vanilla Music player Cover Fetch plugin
Weibo User Timeline7
2 years ago5March 20, 2019mitPHP
Easily fetch any user's weibo timeline without oAuth
Camembert Au Lait Crew7
5 months ago1February 14, 202228mitHTML
:hamburger: Camembert au lait crew website & API
Alternatives To Album Art
Select To Compare


Alternative Project Comparisons
Readme

album-art

npm version Build Status Maintainability Try movie-art on RunKit

Fetch an album or artist image url: "The Beatles" ➔ http://path/to/beatles.jpg

album-art

Try it on RunKit (Output)

NOTE: Last.fm cannabilized their own API and broke many applications, including this one. This library now uses Spotify for image data. The usage for album-art has changed slightly but is fully backwards-compatible. Please report any errors.

Features

  • Use anywhere, browser or Node - UMD (Browser Support)
  • Works in React + NextJS client/server (uses isomorphic-fetch)
  • Promise and Callback API
  • Fetch images for albums or artists
  • Multiple size options
  • Uses Spotify for image data

Install

Using NPM:

$ npm install album-art

In the browser:

<!-- albumArt window global -->
<script type="text/javascript" src="https://unpkg.com/album-art"></script>

(via Unpkg, or via JSDelivr)

Usage

const albumArt = require( 'album-art' )

await albumArt( 'Rush' ).then( console.log )
//=> http://path/to/rush.jpg
Callback
await albumArt( 'Rush', ( error, response ) => {
   console.log( response )

   //=> http://path/to/rush.jpg
})
Usage with album and size options
await albumArt( 'Rush', {album: '2112', size: 'small'} )
  .then( console.log )

//=> http://path/to/rush_2112_small.jpg

API

albumArt(artist [, options] [, callback])

Accepts an artist string to search for. Returns a Promise which resolves to a string URL.

artist

Required
Type: string

Artist to search for.

callback(error, response)

Function to be called on complete or on error.

Options

A JavaScript object with the following properties:

album

Type: string

Album to search for.

size

Type: string

Requested image size. possible values: small, medium, large

CLI Usage

You can also run as a CLI app by installing it globally:

$ npm install --global album-art

$ album-art --help

Usage
  $ album-art artist [album] [size]

Example
  $ album-art 'The Beatles' --album 'Abbey Road' --size 'large'
  http://path/to/beatles/abbey_road_large.jpg

Related

License

This package uses the Last.fm Spotify API for it's data. You may consult the Spotify API Terms of Service for license details.

MIT © Lacy Morrow

Popular Album Projects
Popular Fetch Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Reactjs
Command Line
Plugin
Nextjs
Fetch
Spotify
Album