From d65fbb5613815606e7f59e5fbee9205ec615bb2d Mon Sep 17 00:00:00 2001 From: Michael Kuperfish Steinberg <36902556+Michael-K-Stein@users.noreply.github.com> Date: Fri, 20 Jan 2023 13:39:56 +0200 Subject: [PATCH] Remove unused file --- spotpy.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 spotpy.py diff --git a/spotpy.py b/spotpy.py deleted file mode 100644 index 9e1f1ff..0000000 --- a/spotpy.py +++ /dev/null @@ -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']) \ No newline at end of file