Skip to content

Instantly share code, notes, and snippets.

@plamere
Created January 16, 2014 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plamere/8454130 to your computer and use it in GitHub Desktop.
Save plamere/8454130 to your computer and use it in GitHub Desktop.
Example of listing all Echo Nest genres along with their descriptions
import pyen
en = pyen.Pyen()
response = en.get('genre/list', bucket=['description'])
for g in response['genres']:
print g['name'], '-', g['description']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment