1.1.5 • Published 2 years ago

apple-music-playlist v1.1.5

Weekly downloads
42
License
MIT
Repository
-
Last release
2 years ago

Apple-Music-Playlist

license github npm Build Status Coverage Status

What is Apple-Music-Playlist?

It is a small npm module which allows getting the playlist information of an apple music playlist by its URL. The information that is returned contains the title, artist and album of each track.

Usage

const appleMusicPlaylist = require("apple-music-playlist");

let sUrl = "https://music.apple.com/de/playlist/<your playlist>";

appleMusicPlaylist.getPlaylist(sUrl).then(aResult => {
	console.log(aResult);
}).catch(err => {
	throw err;
});

Result

The function returns an array with following structure:

let aResult = [
	{
		"album": "the album of the track",
		"artist": "the artist of the track",
		"title": "the title of the track"
	}
];
1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago