New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

itunes-web-api

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itunes-web-api

iTunes WEB API Scrapper

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-56.82%
Maintainers
1
Weekly downloads
 
Created
Source

WELCOME TO ITUNES API MODULE! BUGS ARE FIXED SORRY FOR THAT (IF U ARE USING VER 1.0.2 or LOWER PLS UPDATE YOUR MODULE)

EXAMPLE USES TO GET REQUIRED INFORMATION;
//##### USAGE FOR TRACK INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.track(songName, limit(optional), lang(optional), country(optional))
console.log(data)//track infos in resulst array


//##### USAGE FOR ALBUM INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.album(albumName, limit(optional), lang(optional), country(optional))
console.log(data) //album infos in resulst array


//##### USAGE FOR APP INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.app(songName, limit(optional), lang(optional), country(optional))
console.log(data)//app infos in resulst array


//##### USAGE FOR MOVIE INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.movie(movieName, limit(optional), lang(optional), country(optional))
console.log(data)//movie infos in resulst array


//##### USAGE FOR BOOK INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.book(bookName, limit(optional), lang(optional), country(optional))
console.log(data)//book infos in resulst array


//##### USAGE FOR VOICE-BOOK INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.voicebook(voicebookName, limit(optional), lang(optional), country(optional))
console.log(data)//voice-book infos in resulst array


//##### USAGE FOR PODCAST INFO #####\\
const itunes = require('itunes-api');
let data = await itunes.voicebook(voicebookName, limit(optional), lang(optional), country(optional))
console.log(data)//podcast infos in resulst array
EXAMPLE OUTPUT FOR TRACK
{
  resultCount: 1,
  results: [
    {
      wrapperType: 'track',
      kind: 'song',
      artistId: 1400730578,
      collectionId: 1468166325,
      trackId: 1468166457,
      artistName: 'Lil Nas X & Cardi B',
      collectionName: '7 - EP',
      trackName: 'Rodeo',
      collectionCensoredName: '7 - EP',
      trackCensoredName: 'Rodeo',
      collectionArtistName: 'Lil Nas X',
      artistViewUrl: 'https://music.apple.com/us/artist/lil-nas-x/1400730578?uo=4',
      collectionViewUrl: 'https://music.apple.com/us/album/rodeo/1468166325?i=1468166457&uo=4',
      trackViewUrl: 'https://music.apple.com/us/album/rodeo/1468166325?i=1468166457&uo=4',
      previewUrl: 'https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview123/v4/9e/33/d3/9e33d321-54f9-07cc-e3ad-4070f2b91007/mzaf_7571049535424902725.plus.aac.p.m4a',
      artworkUrl30: 'https://is2-ssl.mzstatic.com/image/thumb/Music113/v4/0d/f9/28/0df92898-90d1-6e15-3b04-9a860feabd0d/source/30x30bb.jpg',
      artworkUrl60: 'https://is2-ssl.mzstatic.com/image/thumb/Music113/v4/0d/f9/28/0df92898-90d1-6e15-3b04-9a860feabd0d/source/60x60bb.jpg',
      artworkUrl100: 'https://is2-ssl.mzstatic.com/image/thumb/Music113/v4/0d/f9/28/0df92898-90d1-6e15-3b04-9a860feabd0d/source/100x100bb.jpg',
      collectionPrice: 6.99,
      trackPrice: 1.29,
      releaseDate: '2019-06-21T07:00:00Z',
      collectionExplicitness: 'explicit',
      trackExplicitness: 'explicit',
      discCount: 1,
      discNumber: 1,
      trackCount: 8,
      trackNumber: 5,
      country: 'USA',
      currency: 'USD',
      primaryGenreName: 'Alternative',
      contentAdvisoryRating: 'Explicit',
      isStreamable: true
    }
  ]
}

WARNING!!

If you are confronted with any problems, you can come to our discord support server below.

Support Server

FAQs

Package last updated on 02 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc