Creating a Glastonbury 2015 Sampler Playlist

May 26, 2015/0/0
Home / Creating a Glastonbury 2015 Sampler Playlist / Creating a Glastonbury 2015 Sampler Playlist

I used python and the Spotify API to make a playlist with the top 3 tracks of (almost) every artist on the Glastonbury line-up.

We were lucky enough to get Glastonbury tickets again this year. Being Glastonbury, there are plenty of artists I know well – but there are also plenty I don’t. I decided to do the standard thing and try listening to the other artists on the line-up using Spotify.

What I needed was to get the top tracks of each artist into a playlist. After googling and finding this doesn’t exist already, I realised I’d have to make it myself. Fortunately Spotify has a very good API – and someone has already made a very nice Python library, spotipy, to use it.

Click the iPython Notebook icon below to take a look at the code:

notebook icon

 

Navigation

Add comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.