mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-14 19:17:27 +00:00
7 lines
161 B
Python
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'])
|