I have been playing around with the MB API in order to create a simple app that will let the user favorite Labels and then see a list of the new releases from all their favorite labels. Conceptually, this is very simple but I’ve run into a problem with the MB API. I can get the list of releases for a label (using either browse or query) but it always returns them oldest to newest. So I have to page through it, which means I have to make multiple API calls. Since I have to rate limit to 1 call per second and I have to wait until all the API calls are completed in order to sort based on date descending, it takes quite a while for the list of new releases to load.
Is there a better way? It doesn’t seem like it’s possible to have the API sort descending or to have the API return a result set larger than 25 items. Any suggestions?