Skip to content

connor/itunes-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
	}  
});

About

search against iTunes using nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published