/itunes-albumart

Grab album artwork from iTunes Store 👊

Primary LanguageTypeScript

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