Inspiration

We both use Spotify daily and as such wanted to gain experience working with API's.

What it does

The program will require a client and secret ID and two playlist links, once these are entered the program will split the playlist so that the link is readable for the API then search Spotify for the playlist and list the songs that it shares between the two.

How we built it

We built the program with Spotipy which is a Python-based library which connects to the Spotify WEB API.

Challenges we ran into

As this is one of the first times both of us have tried working with an API before we ran into one major problem, which relates to the track limit when reading from a playlist being limited to 50 tracks. The only way to go past this limit is to query the next page by using an offset each time.

Accomplishments that we're proud of

We gained valuable knowledge from our experience with APIs and were able to create a limited-functioning version of the program we set out to do, with the program properly reading from two different playlists and sorting the music based on similarity.

What we learned

We learned that working with API's requires a lot of patience as they can sometimes at least in our case contain weird limits and rules which require lots of work for a "simple" fix, as is the case with the 50-song track limit when reading from a playlist.

What's next for Spotify Playlist Union

As there is still some ironing out to be done we hope to implement the offset to fix the track problem and create an authentication portion of the program so that the program can automatically create the playlist union for you to listen to.

Built With

Share this project:

Updates