user10650761
user10650761

Reputation: 87

Is there a way to get a list of playlists containing a particular song in Spotipy (Spotify Python Api)

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?

Upvotes: 1

Views: 744

Answers (2)

Leon Walker
Leon Walker

Reputation: 23

I believe this is an example of a similar system in action

Playlist Miner

Upvotes: 0

zunkelty
zunkelty

Reputation: 317

Nope, there isn't. You could however use the endpoint https://api.spotify.com/v1/recommendationsto 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.

Upvotes: 1

Related Questions