Skip to content

countervolts/Spotify-Stats-Calculator

Repository files navigation

status

as of 03-19-24 im only updating the executable files

non-extended streaming history here (source code) <--- will continue to receive updated

fully streaming history here (source code) <--- will continue to receive updated

JustUpload <--- will continue to receive updated (if needed)

discontinued

non-extended streaming history here (reader.py) <--- discontinued (last update march 8 2024)

fully streaming history here (reader.py) <--- discontinued (last update march 8 2024)

fast links

how to get history here

how to tell which download is which here

how to run the code

so when you request you data spotify will send 2 emails (not including the one they send when you first request)

The first one should come in a couple days, this will NOT include your extened streaming history. BUT you can still calculate your history

i got my files now what?

literally just download the file and you should be good, the code is programmed to scan your downloads for the folder that spotify sent you (the zipped version NOT the unzipped) and it will automatically unzip it and read the needed files from it

calculating the first file

this code is only to calculate the first file spotify sends you

  1. executable.exe <-- compiled to exe code (recommended)
  2. executable file <-- non-compiled executable python code (recommended if running code directly)
  3. the full code <-- full python code (this should only be ran if everything else isnt working, this code has debug features to help assist your error(s)) (not recommended)

calculating the ENTIRE extended streaming history

to calculate your entire streaming history you can run one of these files

  1. executable.exe <-- compiled to exe code (recommended)
  2. executable file <-- non-compiled executable python code (recommended if running code directly)
  3. the full code <-- once again the fully code just modified to read the extended streaming history (not recommended)

examples!

Some examples can be found here!

Command Prompt Output

SpotifyStats Folder Output

Note that the examples will be the same for both the extended streaming history and aswell the my account data (1 year streaming history)

support/suggestions

here is my discord (._ayo)

and heres a discord server that is for all my coding projects plus more help (https://discord.gg/rP63gxfKQJ)

how to get your extended streaming history

step 1. go to https://www.spotify.com/ca-en/account/privacy/ and do the following see here

step 2. check your email after requesting and you should get something that looks like this see here

step 3. wait (usually the worse part) the extended streaming history can take from 2 weeks - 1 month, while the "account data" will take probably a couple days

pylint

pylint rates the following

reader.py - 7.16/10 <--- no longer being updated

executable.py - 8.56/10 (previous run: 8.72/10, -0.16)