gpt4 book ai didi

javascript - SoundCloud api-v2 是否已弃用?

转载 作者:行者123 更新时间:2023-11-30 16:04:43 24 4
gpt4 key购买 nike

我们一直在使用 SoundCloud API,但它在本周早些时候突然停止工作;它现在返回“未找到”消息。据我们所知,我们这边没有任何变化,所以我们想知道 API 是否有一些已知的变化需要更改代码?

这是我们用来访问 API 的 URL 示例: https://api-v2.soundcloud.com/explore/Popular+Music?client_id=d2791ef3c22de81af61b4915a654b2e2&cb=1462986650375-9904013473612631

这在 Javascript 代码中用于 Windows 上 Chrome 的新标签扩展。

最佳答案

文档没有提到 api-v2 端点。

Unless otherwise specified, the base URL for API endpoints is:

https://api.soundcloud.com

尝试更改基本 URL;如果您使用的是 JS SDK,请确保您拥有最新版本。


看起来 api-v2 是一个 undocumented, internal version SoundCloud API。

甚至还有一个quote from the developers (强调我的):

Letting you know, that using undocumented APIs is not going in line with the our developers’ Terms of Use. I'd also not recommend building anything on top of it, as it is very much subject to change.

就这样吧。这个端点可能会发生变化,没有公开可用的文档,无论如何你都不应该使用它,如果你这样做,你就会破坏服务条款,即使SoundCloud doesn't seem to be feeling bloodthirsty .重要的是要了解它没有官方支持(又名“会破坏你在任何时候所做的一切”)。

关于javascript - SoundCloud api-v2 是否已弃用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37221510/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com