Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private async Task<IEnumerable<Item>> GetPlayList(string token, string userId, string playlistId) {
string url = string.Format("https://api.spotify.com/v1/users/{0}/playlists/{1}", userId, playlistId);
Playlist playList = await this.GetSpotifyType<Playlist>(token, url);
return playList.tracks.items.ToList();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.