Hi everyone
I’m a little new to working with API’s and I’m just getting my head around how relationships work. I’m trying to work how out to write the correct URL for it to return a random song from a specific range of years from a specific country.
This is where I am so far:
http://musicbrainz.org/ws/2/release?area=f45b47f8-5796-386e-b172-6c31b009a5d8&offset=12&limit=2
This returns 2 releases from Brazil (from any year) in what appears to be alphabetical order.
I’ve managed to get almost what I need using the advanced query syntax, like this:
This will list all of the releases between 1964 and 1978 from Brazil. I’m struggling to work out how to achieve the same results with the API url. I don’t mind using my own code to pick a random release if there isn’t a way to do it using the API.
I was wondering if anyone would be able to guide me in the right direction and I can try and figure out the rest on my own - would appreciate the help!
Thanks