strudelhouse strudelhouse - 1 year ago 79
JSON Question

Limit number of results for Songkick API

I'm trying to limit the number of results that this pulls:{venue term}&apikey={API KEY}

I've tried adding on
.. none of them seem to work.

I can't find anything in the documentation. Anyone know?


Answer Source

The documentation for venue search mentions the per_page argument, that limits how many items are returned for each request.

You can try using:{venue term}&per_page=10&apikey={API KEY}

It accepts any value between 1 and 50.