|
Project Information
Featured
Downloads
Links
|
Pyechonest is moving to github. Come join us!Everything will remain here for the short term, but all future updates will happen on github. At some point we will shutdown this project.Tap into the Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web. Pyechonest is an open source Python library for the Echo Nest API. With Pyechonest you have Python access to the entire set of API methods including:
Getting Started
from pyechonest import config
config.ECHO_NEST_API_KEY="YOUR API KEY"InstallThere are a few different ways you can install pyechonest:
ExampleHere's a snippet of python that will show all of the artists that are similar to 'Bikini Kill'. (assuming you have already setup your api key!)
from pyechonest import artist
bk_results = artist.search(name='bikini kill')
if bk_results:
bk = bk_results[0]
print "Artists similar to: %s:" % (bk.name,)
for similar_artist in bk.similar:
print "\t%s" % (similar_artist.name,)
else:
print "Uh oh, couldn't find bikini kill"
|