Grab more than 1 page or 20 items per page on artist

Grab more than 1 page or 20 items per page on artist

Posted 27 Mar 2019, 0:49:09

I'm using postman to try to grab down the json data for the deftones and when the data comes in it's limited to 20 items per page and has page one listed. It is saying there is a total of 1700 sets and I'd like to get them all packed up in one json file.

Re: Grab more than 1 page or 20 items per page on artist

Posted 27 Mar 2019, 8:03:09

Items per page are limited to 20. You need to iterate through all pages in order to get all setlists and write your own code to combine them to one json file. The way to go through the pages is of course to provide the paging parameter “p” e.g.

https://api.setlist.fm/rest/1.0/artist/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/setlists?p=2

Post Reply

You're not allowed to do this, please sign in first.