Skip to content

neha-deshpande001/Sort-Spotify-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Sort Spotify Data

Created by Neha Deshpande on 2/4/2022

Instructions for use:

  1. Download your Spotify data here: https://support.spotify.com/us/article/data-rights-and-privacy-settings/
  2. Download SortSongs.py and move it into the folder \my_spotify_data\MyData\
  3. Run the following command from a terminal:
python SortSongs.py

Three new files will be created: SortedSongs.txt, SortedArtists.txt, and SortedLikedSongs.txt.

SortedSongs.txt will be in the following format, with each line being a different song.

Number of times played  --  Song Name  --  Artist Name

SortedArtists.txt will be in the following format, with each line being a different artist.

Number of times played  --  Artist Name

SortedLikedSongs.txt displays the number of times each of the liked songs are played. It will be in the following format, with each line being a different artist.

Number of times played  --  Song Name  --  Artist Name

Graphing:

To graph your top songs and artists, run the following. [Number] is how many you want to graph. The default is 5:

python SortSongs.py -graph [Number]

This will result in two graphs being saved to the same folder as above. 'SortedSongs.png' displays your top [Number] songs and 'SortedArtists.png' displays your top [Number] artists. Examples of these are shown below. Note, matplotlib is required for graphing. SortedSongs SortedArtists

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages