Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

ipics

1.0.1 • Public • Published

ipics Build Status

Search for thumbnails and images for Itunes media

Install

$ npm install --save ipics

Usage

const ipics = require('ipics');
 
ipics('sidologie', 'album');
/*
=> [ { name: 'Sidologie',
    thumbnailUrl: 'http://is5.mzstatic.com/image/thumb/Music3/v4/46/47/c2/4647c28d-d4d1-6e3b-a9f4-1b87b749b3a3/source/100x100bb.jpg',
    imageUrl: 'http://is5.mzstatic.com/image/thumb/Music3/v4/46/47/c2/4647c28d-d4d1-6e3b-a9f4-1b87b749b3a3/source/600x600bb.jpg' } ]
*/

API

ipics(searchTerm, type)

Returns a Promise that resolves to an array of objects with links to thumbnails and corresponding full-size pictures for search results.

Valid types:

  • ios-app
  • mac-app
  • album
  • movie
  • tv-show
  • book

Related

License

MIT © 2016 Ingve Vormestrand

install

npm i ipics

Downloadsweekly downloads

1

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability