Searching for setlist by Mbid (MusicBrainz ID)
Posted 13 May 2016, 17:28:58
I've had mixed results using the artistMbid parameter with the '/search/setlists' endpoint. Despite a band showing up just fine under the artistSearch using the Mbid, I get 'not found' when searching for setlists.
Example
Artist endpoint: http://api.setlist.fm/rest/0.1/search/artists?artistMbid=7c6a545e-7395-4bc5-81b3-199ca46ead04
Setlist search using same Mbid: http://api.setlist.fm/rest/0.1/search/setlists?artistMbid=7c6a545e-7395-4bc5-81b3-199ca46ead04
The band certainly has setlists on the site. And this same test works for other bands.
Is this an error or the API's part or mine? I'm guessing I should just stick to using the band name, but if the Mbid worked consistently that'd be great for accurate results.
Last edited 13 May 2016, 17:29:29
Posted 17 May 2016, 2:49:58
G'day Lawrence,
In this case, I think you may have the wrong 'Pup' artists, appears to be working fine for me :)
PUP (10s Canadian punk band) – http://www.setlist.fm/setlists/pup-4bdac742.html – MBID: 3165f5e0-44ff-446a-81d7-c09ec69661ae – (setlists)
Pup (90s Canadian band) – http://www.setlist.fm/setlists/pup-13c6c9fd.html – MBID: 7c6a545e-7395-4bc5-81b3-199ca46ead04 – (no setlists)
Cheers,
Fitzy