- use
make clean && make html
aftercd docs
to build docs - Windows requires
\\
instead of/
for paths - in interactive shell, autocomplete works for functions, Aspect.T etc.
- conda environemnt
endsong
with- Python 3.9.7
- requirements.txt
Parser for Spotify endsong.json
files made with Python
Required libaries:
- matplotlib
- numpy
This project uses Black for Python, Prettier for Markdown formatting and Markdownlint for linting markdown. The disabled rules are specified in .markdownlint.json
Lukas didn't want to use the Spotistats app to make the endsong.json
files usable. So, in order extract the data and do something with it he wrote this script. At first it could only display the top artist/tracks, later you could search for specific tracks and now you can even view graphs showing the changes over time. I decided to modify this script to my own liking and here we are.
-
Install the required libraries in
requirements.txt
python3 -m pip install -r requirements.txt
-
Download the
endsong_parser.py
file -
Open it in a text editor and at the end change the
path
array to match your paths -
Open the script in an interactive python shell
python3 -i endsong_parser.py
-
Wait for the script to parse the data
-
Use the many commands available! If you ever need help, use
help(d.<method>)
where<method>
is the name of the method you need help with.
aspect
can be either "artist"
, "album"
or "title"
name
is the name of the artist, album or track
Follow the Spotistats guide (backup link) to get the files.
See usage guide