Soundcloud API - 查找包含特定歌曲的播放列表

时间:2015-07-20 21:51:39

标签: api web soundcloud

在探索并尝试使用SoundCloud的API之后,无法找到播放列表中包含某首歌曲...

但是,SoundCloud使用简单的网址格式来显示哪些播放列表包含某些歌曲 - https://soundcloud.com/ARTIST/SONG/sets

例如:https://soundcloud.com/ultrarecords/cheerleader-felixjaehnremix/sets

有没有办法从上面的网址中删除播放列表ID?我试图卷曲页面,但它没有提供播放列表的ID。

1 个答案:

答案 0 :(得分:0)

有可能。

转到该站点,打开开发人员控制台,转到网络选项卡并查看xhr请求。

在查看请求时,您会发现这些端点,它们是下一个api版本的一部分:

https://api-v2.soundcloud.com/tracks/150483650

https://api-v2.soundcloud.com/tracks/150483650/playlists?limit=10