Announcements

Help Wizard

Step 1

NEXT STEP

Massively Exceeding rate limit when trying to get Artist data

Massively Exceeding rate limit when trying to get Artist data

Plan

Premium

Country

United Kingdom

 

Device

MacBook Pro (Retina, Mid 2012)

Operating System

macOS Catalina 10.15.7

 

My Question or Issue

Hi,

 

I'm running into a bit of a wall where I'm currently using a user's playlist (retrieved from /v1/playlists/{playlist_id}) to compile some preferred genre data, but the only place you can get the actual genre of the song seems to be from the artist of the song from /v1/artists/{id}. However, especially on big playlists, trying to do this massively violates rate limiting. I'm already using polly.js with waitAndRetry() to try and stop violating rate limiting, but because there's so many requests going out it doesn't work.

 

Could we have the genre of the track sent through in the original playlist call? Or is there somewhere else I can find the genre of the song (ideally without having to worry about making more HTTP calls using the href fields)?

 

Thanks!

Reply
0 Replies

Suggested posts