Skip to main content

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.

Files for music-recommender, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size music_recommender-1.0.0-py2.py3-none-any.whl (3.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size music-recommender-1.0.0.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page