有没有办法在 Spotipy 中获取包含特定歌曲的播放列表列表 (Spotify Python Api)

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

我想创建一个类似的推荐系统,我正在尝试查找其中包含给定歌曲的播放列表,以查看人们会同时收听哪些其他歌曲。有没有办法在 Python 中使用 Spotify API?

不,没有。但是,您可以使用端点 https://api.spotify.com/v1/recommendations 来获取歌曲的相关歌曲。您将歌曲、艺术家和流派提供给 Spotify,他们将包含类似歌曲的播放列表返回给您。这可以让你实现你想要做的事情。

我相信这是一个类似系统的例子

Playlist Miner