A Python client for the Spotify Recommendations API.
Project description
Python client for the Spotify Recommendations API.
Install:
pip install music-recommender
Example:
recommender = Recommender()
recommender.artists = 'Johnny Cash'
recommender.genres = [
'country',
'party'
]
recommender.tunable_track_attributes = {
'danceability': 1.0
}
recommendations = recommender.find_recommendations()
for recommendation in recommendations['tracks']:
print("%s - %s" % (recommendation['album']['name'], recommendation['album']['artists'][0]['name']))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for music_recommender-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eddee2a251c526db0b4ae7f7a8a30bf94f1b5aabc9e3db4e90706f00fd486ae4 |
|
MD5 | 91da17bcc34f980846b08fc8eb9df5a5 |
|
BLAKE2b-256 | c35a713e83105afa6c20571a377405a2ded3e552898ca1e367dd8ede61cc91db |