Playlists

Playlists

new Playlists(spotify)

Creates a new Playlists instance
Source:
Parameters:
Name Type Description
spotify Spotify

Methods

getCoverImage(id)

Get the current image associated with a specific playlist.
Source:
Parameters:
Name Type Description
id String playlist id

getPlaylist(id)

Get a playlist owned by a Spotify user.
Source:
Parameters:
Name Type Description
id String playlist id

getPlaylistTracks(id, limit)

Get full details of the tracks or episodes of a playlist owned by a Spotify user.
Source:
Parameters:
Name Type Default Description
id String playlist id
limit Number 100
Returns:
maximum number of items to return; default: 100, min: 1, max: 100 https://developer.spotify.com/documentation/web-api/reference/playlists/get-playlists-tracks/

getUserPlaylists(id, limit)

Get a list of the playlists owned or followed by a Spotify user.
Source:
Parameters:
Name Type Default Description
id String user id
limit Number 20 maximum number of playlists to return; default: 20, min: 1, max: 50