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
and Client 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 ).
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
File details
Details for the file spotify_tracks_archiver-1.0.4.tar.gz
.
File metadata
Download URL:
spotify_tracks_archiver-1.0.4.tar.gz
Upload date: Oct 16, 2022
Size: 9.9 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Hashes for spotify_tracks_archiver-1.0.4.tar.gz
Algorithm
Hash digest
SHA256
d29bf2338173952c187ef767120642d22163c43ae18267f892611191579180f7
Copy
MD5
e59a72500af3805f14fb1bbbf4e14676
Copy
BLAKE2b-256
5c89f459cac246327032b2126f0aef5e9f980218c104e25a3423486cd32c16da
Copy
See more details on using hashes here.
File details
Details for the file spotify_tracks_archiver-1.0.4-py3-none-any.whl
.
File metadata
File hashes
Hashes for spotify_tracks_archiver-1.0.4-py3-none-any.whl
Algorithm
Hash digest
SHA256
fae44415ef1e1a5b1541fc2f0eb8bc07cd66e91fa446bf659ffb6e820affbcc3
Copy
MD5
4564e51b3a4719c06b67aa5fa900bdca
Copy
BLAKE2b-256
3df49b615fd0b7720025cb7190a1b68777af3b36d95dc75460a70da6dc9d6e2e
Copy
See more details on using hashes here.