Spotify Playlist

Chris Angelico rosuav at gmail.com
Mon Jun 1 01:03:18 EDT 2020


On Mon, Jun 1, 2020 at 2:55 PM Terry Reedy <tjreedy at udel.edu> wrote:
>
> On 5/31/2020 7:10 PM, Chris Angelico wrote:
> > Automation would be a bit harder, as you'd have to periodically query
> > the API for each playlist's description, and then update them.
> > https://developer.spotify.com/documentation/web-api/reference/playlists/get-playlist/
> >
> > The reason this would be harder is that you'd risk running up against
> > the rate limits:
> > https://developer.spotify.com/documentation/web-api/#rate-limiting
>
> Their recommendation is to query infomation about multiple items at
> once, as their API allows.  I suspect that one can also add or update
> multiple items at once.

I'm not sure, but that doesn't even matter. The question is more about
how frequently you can query to see if it's been wiped. But that might
be irrelevant, depending on exactly how high the rate limits are - I
didn't check. (If you're allowed, say, 1500 calls per day, then you
could poll every minute and still be fine.)

But I only did a very cursory examination. A feasibility test, the
results of which are that I'd be confident putting this project in the
hands of a competent novice programmer.

ChrisA


More information about the Python-list mailing list