Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

spotify-history-playlist

Python script for creating a Spotify playlist based on streaming history for a specific time period (data from "Download your data")

Partly based on: How To Create Spotify Playlist Using Python! - Kalyan Codes

Instruction

Download data from Spotify

  1. Download your data (including the streaming history) from the Spotify Privacy Settings (at the bottom of the page).

Configure Spotify Developer account and create app

  1. Go to the Spotify Developer Dashboard and login with your Spotify account.
  2. Create a new app called "spotify-history-playlist". App description: "Creating a playlist based on the listening history (data from "Download your data")".
  3. Click EDIT SETTINGS, add http://127.0.0.1:8080/ as Redirect URI and save.
  4. Note Client ID and Client Secret.

Local configuration and execution

  1. Place the "MyData"-folder (extracted from the requested and downloaded Spotify data) in the same folder like the spotify_history_playlist.py script and the config_template.py.
  2. Rename config_template.py to config.py.
  3. Fill config.py with your data (Spotify username (not mail adress), Client ID, Client Secret). If you don't know your username you can find it on the Spotify Account Overview.
  4. Execute spotify_history_playlist.py.
  5. Follow the instructions in the program and in the browser (for giving access rights).
  6. Enjoy the music listened in the history. :)

Requirements

About

Python script for creating a spotify playlist based on streaming history for a specific time period (data from "Download your data")

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages