spotipy/examples/simple0.py
2014-08-22 12:10:48 -04:00

7 lines
160 B
Python

import spotipy
sp = spotipy.Spotify()
results = sp.search(q='weezer', limit=20)
for i, t in enumerate(results['tracks']['items']):
print ' ', i, t['name']