search against iTunes using nodejs
JavaScript
Latest commit 1b610ea Sep 28, 2015 @connor Merge pull request #4 from masterT/master
Bump version
Failed to load latest commit information.
examples
lib
.gitignore
README.md Add API lookup method Sep 18, 2015
package.json

README.md

itunes-node

Search against iTunes using nodejs.

Installation

npm install itunes-search

Search

API Search reference

var itunes = require('itunes-search');

var options = {
     term: "field of dreams"
 , media: "movie" // options are: podcast, music, musicVideo, audiobook, shortFilm, tvShow, software, ebook, all
 , entity: "movie"
 , attribute: "movieTerm"
 , limit: 50
 , explicit: "No" // explicit material
 , country: "CA" // default US
};

itunes.search(options, function(err, response) {
    if (err) {
        console.log(err);
    } else {
        console.log(response);
    }  
});

Lookup

API Lookup reference

var itunes = require('itunes-search');

var options = {
   id: 481473944
 , entity: "album"
 , limit: 25
 , sort: "recent"
 , country: "CA" // default US
};

itunes.lookup(options, function(err, response) {
    if (err) {
        console.log(err);
    } else {
        console.log(response);
    }  
});