来自id的Soundcloud跟踪网址

时间:2015-07-27 13:00:58

标签: soundcloud

如果只给出了id,我如何直接链接到soundcloud上的实际歌曲?

示例:

9456836 => https://soundcloud.com/rylegit/ry-legit-the-sweety-man-unsigned

我见过this post,但我想知道是否可以直接调用API。

我想要达到的目标是:

www.soundcloud.com/9456836 要么 www.soundcloud.com/track/9456836

有点像你可以用youtube:youtu.be/TeDQvHMC5w4

1 个答案:

答案 0 :(得分:3)

我找到了一个解决方案,它有点hacky但它​​完成了工作:

https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F9456836

"https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F" + id