kopia lustrzana https://github.com/Michael-K-Stein/SpotiFile
Remove unused file
rodzic
e523a70a9b
commit
d65fbb5613
11
spotpy.py
11
spotpy.py
|
@ -1,11 +0,0 @@
|
||||||
import spotipy
|
|
||||||
from spotipy.oauth2 import SpotifyOAuth
|
|
||||||
|
|
||||||
scope = "user-library-read"
|
|
||||||
|
|
||||||
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope))
|
|
||||||
|
|
||||||
results = sp.current_user_saved_tracks()
|
|
||||||
for idx, item in enumerate(results['items']):
|
|
||||||
track = item['track']
|
|
||||||
print(idx, track['artists'][0]['name'], " – ", track['name'])
|
|
Ładowanie…
Reference in New Issue