spotify-playlist

0.0.4 • Public • Published

Node.js - Spotify Playlist Data

Get all data from both public or private Spotify Playlists without authentication. Based on node-spotify-data.
Due the widged limitation of Spotify, it is only able to load the first 200 songs.

Dependencies

This project depends on restler to make HTTP(S) requests, spotify-uri for converting Spotify URI's and cheerio.

Install

npm install spotify-playlist --save

Usage

var spotifyPlaylist = require('spotify-playlist');
 
var callback = function(err, result) {
    console.log(result.playlist.tracks);
}
 
spotifyPlaylist.playlistUri('spotify:user:spotify:playlist:6RU5ydGPBQ8fJKWAqMj8Hg', callback); //Normal spotify URI.
spotifyPlayList.playlist('syknyk', '0Idyatn0m08Y48tiOovNd9', console.log); //Using username and playlist ID as parameters.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    2
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i spotify-playlist

Weekly Downloads

5

Version

0.0.4

License

none

Last publish

Collaborators

  • megacookie