流派和类型过滤器在 Soundcloud API 中不起作用? [英] Genres and types filters not working in Soundcloud API?
本文介绍了流派和类型过滤器在 Soundcloud API 中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这个链接不会像这篇文章中描述的那样返回摇滚流派的曲目:使用流派过滤器在 Soundcloud API 上
This link does not return tracks from the rock genre as described in this post: Using the genres filter on Soundcloud API
这是最近坏掉的东西吗?
Is this something that recently broke?
我正在使用 Python SDK 并尝试了各种调用来使过滤器正常工作,目前我只能使 created_at 过滤器受到尊重.这是python代码:
I'm using the Python SDK and have tried various calls to get the filter to work, and currently I can only get the created_at filter to be respected. Here is the python code:
track_page=client.get('/tracks',
created_at={'from':'2013-01-01 00:00:00','to':'2013-01-07 00:00:00'},
genre='house',
types=['recording','remix','original'],
limit=limit_size,
offset=offset)
相关文档在这里
推荐答案
我刚刚找到了一个解决方案,在您的查询中添加 q='*'
.它将返回正确的类型结果.
i just found a solution, add q='*'
in your query. it will return correct results for the genre.
但我不确定 created_at[from/to]
和 duration[from/to]
这篇关于流派和类型过滤器在 Soundcloud API 中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文