Algorithmically create playlists based on spotify api and Spotipy wrapper. The point of the project is to create playlists based on the user's liked songs.
The playlists are built using a randomized algorithm which preferentializes artists who you enjoy enough to add to your liked songs but you havent fully explored their discography.
-
You must activate your Spotify developer account
-
Once activated, clone the repository and then create a file called cred.py . In the file add your ID, SECRET, and redirect URL (consider using localhost/9000).
-
Import the file to the recommendationEngine.py and simply modify this section with your cred.py file:
client_id = cred.ID client_secret = cred.SECRET redirect_url = cred.REDIRECT
-
Run it using
>> python3 recommendationEngine.py
-
Enjoy discovering new music
The temp.dat file is used to increment the name of the playlist. Simply reset temp.dat to 1 and then run the program.