Our project aims to develop a song recommendation system. We analyze a song and evaluate its main features and want to find the most compatible one among other songs and recommend it to the user.
- Python 3
- Pandas
- Numpy
- Spotipy
- dotenv
pip install numpy, pandas, spotipy
# optional package to read from .env file
# client_id and client_secret can be mannually set in the code
pip install python-dotenv
-
After getting cliend_id and client_secret from Spotify Dashboard, edit
data/getdata.py
and set them to the related fields. -
Then edit the playlists as you want in
data/playlist_urls.txt
file. Each line should contain a playlist url. -
Then, run the following command to get the track details.
cd data python getdata.py
-
Now
data/data.csv
file should be created. You can use this file in the notebook. -
Run
notebook.ipynb
and enjoy!
This project is for educational purposes only. We do not own any of the data used in this project nor commercially use the data. All rights reserved to their respective owners.