我在探索soundcloud的API,我已經看到通過網絡的想法,您可以訪問explore sections,我還沒有找到任何可幫助您通過API實現的文檔。Soundcloud探索部分
以前有人試過這個嗎?
我在探索soundcloud的API,我已經看到通過網絡的想法,您可以訪問explore sections,我還沒有找到任何可幫助您通過API實現的文檔。Soundcloud探索部分
以前有人試過這個嗎?
soundcloud探索部分使用仍未記錄的新API調用。與流相同。 ,但您可以在引擎蓋下查看(在Chrome開發人員工具 - >網絡選項卡中)以查找新的API調用。
例如主探索部分https://api.soundcloud.com/explore/sounds/category?limit=10&offset=0&linked_partitioning=1
和岩石部分指向 https://api.soundcloud.com/explore/sounds/category/rock?limit=10&offset=0&linked_partitioning=1
P.S.不要忘記在呼叫中包含您的客戶端ID
API已更新。您可以使用下面的URL來訪問探索部分(基於@ cucko的答覆):
https://api-v2.soundcloud.com/explore/categories?limit=10&offset=0&linked_partitioning=1
隨着通話客戶端ID:
https://api-v2.soundcloud.com/explore/categories?limit=10&offset=0&linked_partitioning=1&client_id=YOUR_CLIENT_ID
的API已經updated.You可以使用下面的URL
https://api-v2.soundcloud.com/charts?kind=top&genre=soundcloud%3Agenres%3Aall-music&limit=20&offset=0&linked_partitioning=1&client_id=YOUR_CLIENT_ID
謝謝。注意到它不再工作了,但找不到任何信息。你是怎麼發現的? – milleph
我試過了,但是不能在python中工作庫綁定... – txomon
好吧,你可能需要擴展庫,缺少像上面那樣的調用。 – cucko
好吧,我使用的是官方的python-soundcloud插件。壞消息是他們正在將.json附加到我寫的所有網址上。我報告了錯誤[#21](https://github.com/soundcloud/soundcloud-python/issues/25)。 同時,我會爲此自行實施。 – txomon