Automatically save Spotify's Discover Weekly Playlists -
spotify's new discover weekly feature kind of killed week i'd keen set script of description autosave playlist every tuesday. first, possible either applescript or web api? , second, docs me started?
this great idea, , web api has functionality need build this. (applescript doesn't.)
firstly, should read through authorization guide since you'll need access token when making requests. you'll find there 3 flows, , 1 pick depends bit on how application going work.
how find user's discover weekly playlist?
the discover weekly playlist's uri has format spotify:user:spotifydiscover:playlist:{id}
, , saved default @ top of user's list of playlists. can retrieve list using get list of user's playlists endpoint. however - there's absolutely no guarantee playlist user's discover weekly playlist. may user has followed user's discover weekly playlist , might have unfollowed own discover weekly. also - note discover weekly playlists private
default, meaning have user's permission have included in list of playlists. read more permissions in using scopes section on developer site.
the user gives application discover weekly playlist
the simple case can imagine let user tell application playlist start storing. either allowing user input playlist's uri directly, or again use list of user's playlists endpoint give user playlists choose from. (filter out playlists isn't called discover weekly , owned user spotifydiscover
).
i don't want terms of use here, please have read through them make sure application doesn't break them.
good luck!
Comments
Post a Comment