A python application to back up your "Liked Songs" library from Spotify to a JSON file
Project description
spotify_tracks_archiver
A way to back up your "Liked Songs" library from Spotify to a JSON file.
Set up
-
Set up a virtualenv and install this project into it.
python -m pip install spotify_tracks_archiver
-
Create an app at https://developer.spotify.com/dashboard/applications and save the
Client ID
andClient Secret
into a file called.env
like this (or set them as individual environmental variables):CLIENT_ID="..." CLIENT_SECRET="..."
-
Run
spotify_tracks_archiver --print-secrets --dry-run
and authenticate. This should print your Refresh Token and save it to your.env
file (or set it as an environmental variable):... REFRESH_TOKEN="..."
-
You're done, execute
spotify_tracks_archiver
and pipe it into a file and/or automate the process on some CI (example on GitHub Actions).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spotify_tracks_archiver-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da07cb2ac6d0ae28565b0a2221c8c2e3b8d4c60517e0849e0b264d98b62eeecf |
|
MD5 | 6706d80b8dad39b2b3c5f4ae80d97040 |
|
BLAKE2b-256 | 7e295362c57c011aadf4d3207078fe8c81b2d05dd8cd46901020ea32a4de79a8 |
Hashes for spotify_tracks_archiver-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3330eff081878509018d98b372738c17c2f2298573d67bdbb9282afdd42f1a8e |
|
MD5 | a8002a5f330c4281ea60beb65c23ab8f |
|
BLAKE2b-256 | d063ece88b8676c61805e0a4d2c26acbfa66d56eb9c668545dc949bda0456a0e |