[GH-ISSUE #521] Be able to run my .py without SPOTIPY_CLIENT_ID & SPOTIPY_CLIENT_SECRET #313

Closed
opened 2026-02-27 23:21:57 +03:00 by kerem · 1 comment
Owner

Originally created by @yaniswav on GitHub (Jun 28, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/521

Hello,
I think that it could be good that we can run our .py file without SPOTIPY_CLIENT_ID & SPOTIPY_CLIENT_SECRET in the console
Because we should do that in our code spotipy.util.prompt_for_user_token(username, scope=None, client_id=None, client_secret=None, redirect_uri=None, cache_path=None, oauth_manager=None, show_dialog=False) and I don't want to use redirect_uri

Originally created by @yaniswav on GitHub (Jun 28, 2020). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/521 Hello, I think that it could be good that we can run our .py file without SPOTIPY_CLIENT_ID & SPOTIPY_CLIENT_SECRET in the console Because we should do that in our code spotipy.util.prompt_for_user_token(username, scope=None, client_id=None, client_secret=None, redirect_uri=None, cache_path=None, oauth_manager=None, show_dialog=False) and I don't want to use redirect_uri
kerem closed this issue 2026-02-27 23:21:57 +03:00
Author
Owner

@stephanebruckert commented on GitHub (Jun 28, 2020):

You already can by using SpotifyClientCredentials, see parameters from https://spotipy.readthedocs.io/en/2.13.0/#spotipy.oauth2.SpotifyClientCredentials

<!-- gh-comment-id:650770203 --> @stephanebruckert commented on GitHub (Jun 28, 2020): You already can by using `SpotifyClientCredentials`, see parameters from https://spotipy.readthedocs.io/en/2.13.0/#spotipy.oauth2.SpotifyClientCredentials
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#313
No description provided.