1.0.1 • Published 12 years ago

itunes-search v1.0.1

Weekly downloads
25
License
-
Repository
github
Last release
12 years ago

itunes-node

search against iTunes using nodejs

installation

npm install itunes-search

example

var itunes = require('itunes-search')

// http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html#searching
// options example:
// options = {
//    media: "movie" // options are: podcast, music, musicVideo, audiobook, shortFilm, tvShow, software, ebook, all
//  , entity: "movie"
//  , attribute: "movie"
//  , limit: 50
//  , explicit: "No" // explicit material
// }
var options = {
    media: "movie"
  , entity: "movie"
  , limit: 25
}

itunes.search( "field of dreams", options,
function(response) {
  // do stuff with 'response'
})
1.0.1

12 years ago

1.0.0

12 years ago