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
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itunes-web-api - npm Package Compare versions

Comparing version 1.0.8 to 2.0.0

dist/functions/main.js

4

package.json
{
"name": "itunes-web-api",
"version": "1.0.8",
"description": "iTunes WEB API Scrapper. Get iTunes track/trackvideo/artist/album/movie/app/book/voicebook/podcast infos with their names.",
"version": "2.0.0",
"description": "iTunes Web API Scrapper. Get iTunes track/trackvideo/artist/album/movie/app/book/voicebook/podcast infos with their names.",
"main": "dist",

@@ -6,0 +6,0 @@ "keywords": [

@@ -14,7 +14,7 @@ ## WELCOME TO ITUNES WEB API!

song("Lil Nas X, Jack Harlow - INDUSTRY BABY ", {
getSong("Lil Nas X, Jack Harlow - INDUSTRY BABY", {
limit: 1,
language: "en",
country: "US",
}).then((result) => console.log(result.result)); // -> { song object }
}).then((result) => console.log(result)); // -> { song object }
```

@@ -28,3 +28,3 @@

const main = async () => {
await getSong("Lil Nas X, Jack Harlow - INDUSTRY BABY ", {
const result = await getSong("Lil Nas X, Jack Harlow - INDUSTRY BABY", {
limit: 1,

@@ -35,3 +35,3 @@ language: "en",

console.log(result.result); // -> { song object }
console.log(result); // -> { song object }
};

@@ -42,45 +42,39 @@

##### Example Output
##### Example Output for Song
```json
{
"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
}
]
"wrapperType": "track",
"kind": "song",
"artistId": 1400730578,
"collectionId": 1576552540,
"trackId": 1576552565,
"artistName": "Lil Nas X & Jack Harlow",
"collectionName": "INDUSTRY BABY - Single",
"trackName": "INDUSTRY BABY",
"collectionCensoredName": "INDUSTRY BABY - Single",
"trackCensoredName": "INDUSTRY BABY",
"artistViewUrl": "https://music.apple.com/us/artist/lil-nas-x/1400730578?uo=4",
"collectionViewUrl": "https://music.apple.com/us/album/industry-baby/1576552540?i=1576552565&uo=4",
"trackViewUrl": "https://music.apple.com/us/album/industry-baby/1576552540?i=1576552565&uo=4",
"previewUrl": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview125/v4/63/c5/9a/63c59a18-6610-173c-5a78-65a06fb251cc/mzaf_9849876950553161459.plus.aac.p.m4a",
"artworkUrl30": "https://is2-ssl.mzstatic.com/image/thumb/Music115/v4/2d/43/83/2d438323-6b09-b746-c05a-f36014244599/source/30x30bb.jpg",
"artworkUrl60": "https://is2-ssl.mzstatic.com/image/thumb/Music115/v4/2d/43/83/2d438323-6b09-b746-c05a-f36014244599/source/60x60bb.jpg",
"artworkUrl100": "https://is2-ssl.mzstatic.com/image/thumb/Music115/v4/2d/43/83/2d438323-6b09-b746-c05a-f36014244599/source/100x100bb.jpg",
"collectionPrice": 1.29,
"trackPrice": 1.29,
"releaseDate": "2021-07-23T12:00:00Z",
"collectionExplicitness": "explicit",
"trackExplicitness": "explicit",
"discCount": 1,
"discNumber": 1,
"trackCount": 1,
"trackNumber": 1,
"trackTimeMillis": 212000,
"country": "USA",
"currency": "USD",
"primaryGenreName": "Hip-Hop/Rap",
"contentAdvisoryRating": "Explicit",
"isStreamable": true
}
*/
```

@@ -87,0 +81,0 @@

@@ -47,1 +47,6 @@ "use strict";

| "albumTerm";
export interface ReturnTypes {
resultCount: number;
results: [any: {}];
}

Sorry, the diff of this file is not supported yet

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