Skip to content

puneet29/SpotifyPin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Pin

About repo

This repo contains necessary script for updating the GitHub Gist with your top Spotify artists over 4 weeks. Inspired by the profile of Jack. Look at his profile, he's got an awesome pin collection on his profile.

Pin Screenshot

Desi at Heart ❤️(Moosewala on top)

Usage

  1. Clone the repository

    git clone https://github.com/puneet29/SpotifyPin.git
    cd SpotifyPin
  2. Create new virtual environment

    • On windows:

      python -m venv venv
    • On Linux:

      python3 -m venv venv
  3. Activate virtual environment

    • On windows:

      venv\Scripts\activate
    • On Linux:

      . venv/bin/activate
  4. Install all the dependencies

    pip3 install -r requirements
  5. Update credentials.py. Generate new token for Gist privileges from Settings->Developer Options.

  6. Update driver.py. Change the username to your own username.

  7. Update run.bat. Update the path to cloned directory.

  8. (For windows only) Setup a new task in task scheduler. Setup a time at which the run.bat file will run in background.