I want to create a recommendation system of sorts, and I’m trying to find playlists with a given song in them to see what other songs people listen alongside that. Is there a way to do that using the Spotify API in Python?
Advertisement
Answer
Nope, there isn’t. You could however use the endpoint https://api.spotify.com/v1/recommendations
to get related songs to a song. You give a song, artist and genre to Spotify and they give a playlist with similar songs back to you. That could allow you to achieve what you’re trying to do.