Event Information

Event Information

Posted 17 Oct 2017, 2:27:36

Hey Guys,

Is there a way to get simple event based information by artist without going into setlist info?

For instance I want to know what venues and dates a specific artist played at this year.

Thanks

Re: Event Information

Posted 17 Oct 2017, 6:12:17

Hi there,

the info is always wrapped in a setlist, but it's quite easy to achieve what you want, the search setlists endpoint has provides the parameters artistMbid and year.

Re: Event Information

Posted 17 Oct 2017, 16:05:57

Ah I see, thanks Michi!

So for my specific scenario, the best method would be to use the search artist endpoint to find their respective artistMbid, then send that along with the year as parameters into the search setlists endpoint and then extract out the distinct venues along with their event dates?

Re: Event Information

Posted 18 Oct 2017, 6:18:41

Correct. If your scenario allows it you might also think about saving the mbid to your datastore. It's useful in loads for loads of different APIs.

Re: Event Information

Posted 18 Oct 2017, 13:58:08

Gotcha, yeah that definitely makes sense. Thanks again!

Re: Event Information

Posted 20 Oct 2017, 0:57:15

Sorry to bother again @Michi, but I want to follow your method and save a bunch of artists and their mbid to a database. Do you have a recommended way of programatically getting the correct mbid for a list of artists? I was considering using musicbrainz directly, but their searches are always filled with multiple results of the same name and the highest scoring one isn't always the one I'm looking for. If it's somehow possible to sort by number of concerts or something?

Last edited 20 Oct 2017, 1:37:48

Re: Event Information

Posted 20 Oct 2017, 8:58:43

Sorry to bother again @Michi,

No worries.

Unfortunately it's not possible to sort by number of concerts. I'd recommend using the sort by relevance from the sort artist endpoint this way the names with the closest match for the search are listed first. This doesn't mean however that the correct one of the three “Oasis” will show up first. To find out which one of the artists that share the same name do have the highest amount of setlists, you could perform a follow-up call to the search by mbid endpoint and analyse the “total” property of the response. Apart from that, there's the “disambiguation” field that tells the artists apart, but that's of course only useful for manual matching.

Hope this helps

Post Reply

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