我试图限制这拉出的结果数量:
http://api.songkick.com/api/3.0/search/venues.json?query={venue term}&apikey={API KEY}
我试过添加maxResults
, limit
, results
.. 它们似乎都不起作用。
我在文档中找不到任何内容。有人知道吗?
谢谢!
场地搜索的文档提到了这个per_page
参数,它限制了每个请求返回的项目数量。
您可以尝试使用:
http://api.songkick.com/api/3.0/search/venues.json?query={venue term}&per_page=10&apikey={API KEY}
它接受 1 到 50 之间的任何值。