0

我正在使用 python 包装器并尝试查找来自特定国家/地区的用户。我相信以下代码行应该返回来自波兰的用户,但相反,我得到了许多其他国家/地区的用户或“无”作为国家/地区的用户。我通过打印 user.country 检查用户国家

users = client.get('/users', country='Poland');

以下是我一直在使用的资源:

http://developers.soundcloud.com/docs#search http://developers.soundcloud.com/docs/api/reference#users

如果有人可以在这里帮助我,我将不胜感激。谢谢你。

4

1 回答 1

0

I figured out what the problem was. Country is not a field that can be filtered. For users only q='' is supported. For the time being it seems the only way to get this data is through a manual search http://soundcloud.com/people/search?q%5Bcountry_code%5D= where the country_code is the 2 letter identifier for a country.

于 2013-03-25T17:59:47.807 回答