从限制为 50 个的 SoundCloud 检索用户的所有播放列表?
Retrieve all of a user's playlist from SoundCloud limited to 50?
我正在尝试通过以下方式从我的帐户中检索所有播放列表
http://api.soundcloud.com/users/145295911/playlists?client_id=xxxxxx
,如 API 参考所示。
但是,我只能检索最近的 50 个播放列表,而不是我所有的播放列表。我一直在寻找这个,但似乎以前没有人遇到过这个问题。有没有办法全部搞定?
查看他们的部分 API on pagination。
Most results from our API are returned as a collection. The number of items in the collection returned is limited to 50 by default with a maximum value of 200. Most endpoints support a linked_partitioning
parameter that will allow you to page through collections. When this parameter is passed, the response will contain a next_href
property if there are additional results. To fetch the next page of results, simply follow that URI. If the response does not contain a next_href
property, you have reached the end of the results.
我正在尝试通过以下方式从我的帐户中检索所有播放列表
http://api.soundcloud.com/users/145295911/playlists?client_id=xxxxxx
,如 API 参考所示。
但是,我只能检索最近的 50 个播放列表,而不是我所有的播放列表。我一直在寻找这个,但似乎以前没有人遇到过这个问题。有没有办法全部搞定?
查看他们的部分 API on pagination。
Most results from our API are returned as a collection. The number of items in the collection returned is limited to 50 by default with a maximum value of 200. Most endpoints support a
linked_partitioning
parameter that will allow you to page through collections. When this parameter is passed, the response will contain anext_href
property if there are additional results. To fetch the next page of results, simply follow that URI. If the response does not contain anext_href
property, you have reached the end of the results.