Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Media | 115 | 21 days ago | 2 | mit | Swift | |||||
A beautiful and declarative cross-platform wrapper API for Apple's PhotoKit | ||||||||||
Album Art | 67 | 35 | 1 | 3 months ago | 6 | February 18, 2020 | mit | JavaScript | ||
💽 Fetch cover art for an artist or album: "The Beatles" ➔ http://path/to/beatles.jpg | ||||||||||
Soundcloud Lib | 59 | 2 | 9 days ago | 15 | June 21, 2020 | 5 | mit | Python | ||
Soundcloud API wrapper for tracks & playlists that doesn't require API credentials. Asyncio support. | ||||||||||
Get_cover_art | 41 | a month ago | 44 | June 02, 2022 | 5 | mit | Python | |||
Batch cover art downloader and embedder for audio files | ||||||||||
Beets Rymgenre | 21 | 6 years ago | 2 | mit | Python | |||||
A beets plugin to fetch genre information from rateyourmusic.com | ||||||||||
Artget | 9 | 9 years ago | 1 | bsd-2-clause | Python | |||||
Fetch album arts from Last.fm, has MPD support. | ||||||||||
Get Genres From Discogs | 9 | 6 years ago | 5 | JavaScript | ||||||
JS (JXA) script that fetches genres for iTunes using discogs.com | ||||||||||
Vanilla Music Cover Fetch | 8 | 3 years ago | 1 | gpl-3.0 | Java | |||||
Vanilla Music player Cover Fetch plugin | ||||||||||
Weibo User Timeline | 7 | 2 years ago | 5 | March 20, 2019 | mit | PHP | ||||
Easily fetch any user's weibo timeline without oAuth | ||||||||||
Camembert Au Lait Crew | 7 | 5 months ago | 1 | February 14, 2022 | 28 | mit | HTML | |||
:hamburger: Camembert au lait crew website & API |
Fetch an album or artist image url: "The Beatles" ➔ http://path/to/beatles.jpg
album-art
has changed slightly but is fully backwards-compatible. Please report any errors.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)
const albumArt = require( 'album-art' )
await albumArt( 'Rush' ).then( console.log )
//=> http://path/to/rush.jpg
await albumArt( 'Rush', ( error, response ) => {
console.log( response )
//=> http://path/to/rush.jpg
})
await albumArt( 'Rush', {album: '2112', size: 'small'} )
.then( console.log )
//=> http://path/to/rush_2112_small.jpg
Accepts an artist string to search for. Returns a Promise which resolves to a string URL.
Required
Type: string
Artist to search for.
Function to be called on complete or on error.
A JavaScript object with the following properties:
Type: string
Album to search for.
Type: string
Requested image size.
possible values: small
, medium
, large
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
This package uses the Last.fm Spotify API for it's data. You may consult the Spotify API Terms of Service for license details.