Collection of Jupyter notebooks for analysing spotify data
- Go to privacy settings in your spotify account
- Download your data (bottom of the page). It should contain about 1 year worth of data, spotify doesn't seem to llow to download more than that...
- Wait for the email from spotify, in my case it took about 3 days.
- Your streaming history will be available in JSON format, in 1 or more files, depending on how many tracks you have listened to.
You can follow the first few steps in the spotify Web API Tutorial. After that you should have your spotify ID and secret available. This is requried to fetch additional track information.
GenerateData.ipynb
has to be run before any other notebooks, as it will generate a pkl
file with a pandas dataframe with your data, which will tehn be used for data visualisation purposes.