Giter Site home page Giter Site logo

spotify-tracks-archiver's Introduction

spotify_tracks_archiver

PyPi codecov pre-commit.ci status

A way to back up your "Liked Songs" library from Spotify to a JSON file.

Set up

  1. Set up a virtualenv and install this project into it.

    python -m pip install spotify_tracks_archiver
  2. 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="..."
    
  3. 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="..."
    
  4. 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).

spotify-tracks-archiver's People

Contributors

keller00 avatar pre-commit-ci[bot] avatar dependabot[bot] avatar

Stargazers

Hezekiah Michael avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

spotify-tracks-archiver's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.