WELCOME TO ITUNES WEB API!
WARNING!! (IF U ARE USING VER 1.0.5 or LOWER PLEASE UPDATE YOUR MODULE)
NOTE: OPTIONS ARE OPTIONAL - NOT NECESSARY
NOTE:
If you do not enter limit, lang or country values, the default language and country code are set to English. Limit Number default is 1.
Please Check ISO_3166 For Language and Country Codes.
EXAMPLE FOR USAGE
const itunes = require('itunes-web-api');
let data = await itunes.track(songName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.trackVideo(songName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.artist(artistName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.album(albumName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.app(songName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.movie(movieName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.book(bookName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.voicebook(voicebookName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.voicebook(voicebookName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
const itunes = require('itunes-web-api');
let data = await itunes.searchAll(searchString, entity, attribute, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
EXAMPLE OUTPUT FOR TRACK
const itunes = require('itunes-web-api');
let data = await itunes.track(songName, {limit: Number, lang: 'lang-code', country: 'country-code'})
console.log(data)
WARNING!!
If you are confronted with any problems, you can come to our discord support server below.
Support Server