Getting A Playlist By ID

Wraps around this Spotify API endpoint

How to use

Use Spotify.Playlists.GetPlaylist() to get a playlist by its Spotify ID.

This will return a Playlist Object which can then be played/edited by the methods outlined on this page.

Example

This example will:

A) Get the playlist Epic Gamer Music by Enrique Triana

B) Try to play Epic Gamer Music on the active device

EpicGamerMusic := Spotify.Playlists.GetPlaylist("2PJPSL6yYJA3ygxr5hADPw")
EpicGamerMusic.Play()