Skip to content

kmsingh-git/Archive-Saved-Spotify-Songs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Archive-Saved-Spotify-Songs

Just a simple script to create a backup of all your saved songs. Saves the songs in a csv file.
Use the file attempt_2.py
It uses OAuth so you'll be prompted to login on the browser when you run the app.


Before running the script, set these 3 environment variables:


SPOTIPY_CLIENT_ID
SPOTIPY_CLIENT_SECRET
SPOTIPY_REDIRECT_URI

To know what value to set in each, go to My Dashboard on the Spotify Developer website, create an app. Spotify will generate a client id and secret for you, and you can specify a Redirect_uri in the Settings page. Then, just set these 3 things as environment variables (I did that in my virtualenv activate file, 'export SPOTIPY_CLIENT_ID=...', and in the deactivate function, 'unset SPOTIPY_CLIENT_ID' <-- Do this for all 3.


Once you set these 3 variables, just run the app and follow instructions.

Cheers

About

Utility script to archive a user's Saved songs on Spotify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages