spotipy/examples/simple0.py
2015-06-05 12:07:28 +03:00

7 lines
161 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'])