Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Codilis authored Dec 21, 2018
1 parent 68a5dd2 commit f636efe
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# Music-Recommendation
Will recommend you songs based on what you have listened previously
# To use the code
You must have a Spotify account in order to get recommendation as this program works on Spotify
first you need to install jupyter notebook and spotipy library.
Go to https://developer.spotify.com/ and create your Spotify developer account.
Then go to https://developer.spotify.com/documentation/general/guides/app-settings/ to create a client and get client_id and client secret.
Go to https://developer.spotify.com/console/get-current-user/ click on get token and select following scopes from the list:
1. user-library-read
2. playlist-read-private
3. playlist-modify-public
4. playlist-modify-private
5. user-library-modify

and then click on request token to create it.
Then open config.cfg file and copy your credentials at required locations.

The program will recommend you song based on the characteristics of your liked and disliked songs.
The characteristics include: danceability, loudness, valence, energy, instrumentalness, acousticness, key, speechiness, and duration.



0 comments on commit f636efe

Please sign in to comment.