mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 01:10:45 +00:00
Made cache_path and username optional (#567)
* Made cache_path and username optional * Update readme and example * Lint * Lint * Feedback / add warning
This commit is contained in:
1 parent
d448d33704
commit
d0ca977647
9 files changed
+126
-137
No files matched your search
@@ -50,7 +50,6 @@ from spotipy.oauth2 import SpotifyOAuth
|
||||
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(client_id="YOUR_APP_CLIENT_ID",
|
||||
client_secret="YOUR_APP_CLIENT_SECRET",
|
||||
redirect_uri="YOUR_APP_REDIRECT_URI",
|
||||
username="YOUR_SPOTIFY_USERNAME",
|
||||
scope="user-library-read"))
|
||||
|
||||
results = sp.current_user_saved_tracks()
|
||||
|
||||
Reference in new issue
Block a user