0

I'm trying to limit the number of results that this pulls:

http://api.songkick.com/api/3.0/search/venues.json?query={venue term}&apikey={API KEY}

I've tried adding on maxResults, limit, results.. none of them seem to work.

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

Thanks!

1 Answers1

0

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

You can try using:

http://api.songkick.com/api/3.0/search/venues.json?query={venue term}&per_page=10&apikey={API KEY}

It accepts any value between 1 and 50.

Vivien Barousse
  • 20,555
  • 2
  • 63
  • 64