A Python client for the Spotify Recommendations API.
Project description
Python client for the Spotify Recommendations API.
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.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15cbbefeb124483f76c4d60af071ba84544ea8746f17dcc5376b81a0fad8a328 |
|
MD5 | a62144f351cfaac5f901d1cef96badbe |
|
BLAKE2b-256 | 20ef4e644b613bac1d68e657bf56cd5467d822a254e27c553f4070da8b1f89fd |