Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including itunes-albumart with all npm packages installed. Try it out:

var itunesAlbumart = require("itunes-albumart")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

itunes-albumart v1.0.0

Grab album artwork from iTunes Store

itunes-albumart

npm version Donatecoins Tests

Simple album art grabbing library

Feel free to send PR and contribute

Features

  1. Apple iTunes Store search API under the hood
  2. Multiple artwork sizes
  3. Simple to use
  4. Can be used as a CLI app too

Install

npm install itunes-albumart

API

albumArt(artist, album) - function

  • artist - String : The artist name
  • album - String : The album name

CLI Usage

$ npm install itunes-albumart -g

$ itunes-albumart --help

Usage:
  $ itunes-albumart artist album writepath

Example
  $ itunes-albumart 'MK' '17' artwork.jpg

Programmatic Usage

const albumArt = require('itunes-albumart')
albumArt('MK', '17').then(console.log)

License

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

MIT © 2018 - 2020 Akash Rajendra

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free