Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Get the albums of multiple artists in a single call? #984

Open
Shpigford opened this issue Aug 12, 2018 · 2 comments
Open

Get the albums of multiple artists in a single call? #984

Shpigford opened this issue Aug 12, 2018 · 2 comments

Comments

@Shpigford
Copy link

For a given user I have a list of all the artists in their library. From that, I want to get all of the albums for all of those artists.

The problem is I very quickly hit 429 rate limit errors as I have to loop through each individual artist to pull their albums.

Is there a way to pass multiple artist IDs and get all of their albums, thus reducing API calls?

@jscholes
Copy link

Is there a way to pass multiple artist IDs and get all of their albums, thus reducing API calls?

Not currently, no. For the moment you'll have to rethink your user interface - do you really need all that data at once, or could it be lazy-loaded? If it's a data processing tool which runs on the command line or as part of a website, can you tell your users that it will take some time to fetch everything?

Feel free to expand on your use case and maybe we can figure out a workaround until a "get albums for several artists" API endpoint exists.

@0xNF
Copy link

0xNF commented Aug 13, 2018

Just popping into this thread to mention that I also would like this endpoint.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants