Obtain list of liked albums through non-interactive script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm trying to write a script that can be run periodically (cron) and fetches the albums I saved/liked/followed to my library and writes the list to json.
Accessing this endpoint requires the 'user-library-read' scope.
https://developer.spotify.com/documentation/general/guides/authorization/scopes/#user-library-read
According to the docs, this can only be obtained through the authorization code flow and the implicit grant flow (I'm not 100% sure about the latter but what I gathered from the docs that should be possible). From my understanding, both these flows are meant to be used interactively where the user gets redirected to the spotify account page where he grants those scopes once and then gets an access token everytime upon login. I fear that this login process will be near impossible to automate from a script since it most likely will be using protection against non interactive use (i.e. captchas).
Is there any way to obtain a list of the albums I liked in a non-interactive/programatical way?
Any help is appreciated, Cheers!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page