[GH-ISSUE #311] Update pip repository #178

Closed
opened 2026-02-27 23:21:14 +03:00 by kerem · 2 comments
Owner

Originally created by @omarryhan on GitHub (Jul 25, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/311

Hey,
Can you please update the pip repository as it's lagging behind Github's code?
Thanks

Originally created by @omarryhan on GitHub (Jul 25, 2018). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/311 Hey, Can you please update the pip repository as it's lagging behind Github's code? Thanks
kerem closed this issue 2026-02-27 23:21:14 +03:00
Author
Owner

@txoof commented on GitHub (Oct 15, 2018):

The util.py is out of sync with the git repo. Would you please update the pip repository?
PIP:

def prompt_for_user_token(username, scope=None, client_id = None,
        client_secret = None, redirect_uri = None):
    ''' prompts the user to login if necessary and returns
        the user token suitable for use with the spotipy.Spotify
        constructor

        Parameters:

         - username - the Spotify username
         - scope - the desired scope of the request
         - client_id - the client id of your app
         - client_secret - the client secret of your app
         - redirect_uri - the redirect URI of your app

Git Repo:

def prompt_for_user_token(username, scope=None, client_id = None,
        client_secret = None, redirect_uri = None, cache_path = None):
    ''' prompts the user to login if necessary and returns
        the user token suitable for use with the spotipy.Spotify 
        constructor
        Parameters:
         - username - the Spotify username
         - scope - the desired scope of the request
         - client_id - the client id of your app
         - client_secret - the client secret of your app
         - redirect_uri - the redirect URI of your app
         - cache_path - path to location to save tokens
<!-- gh-comment-id:429983932 --> @txoof commented on GitHub (Oct 15, 2018): The util.py is out of sync with the git repo. Would you please update the pip repository? PIP: ``` def prompt_for_user_token(username, scope=None, client_id = None, client_secret = None, redirect_uri = None): ''' prompts the user to login if necessary and returns the user token suitable for use with the spotipy.Spotify constructor Parameters: - username - the Spotify username - scope - the desired scope of the request - client_id - the client id of your app - client_secret - the client secret of your app - redirect_uri - the redirect URI of your app ``` Git Repo: ``` def prompt_for_user_token(username, scope=None, client_id = None, client_secret = None, redirect_uri = None, cache_path = None): ''' prompts the user to login if necessary and returns the user token suitable for use with the spotipy.Spotify constructor Parameters: - username - the Spotify username - scope - the desired scope of the request - client_id - the client id of your app - client_secret - the client secret of your app - redirect_uri - the redirect URI of your app - cache_path - path to location to save tokens ```
Author
Owner

@stephanebruckert commented on GitHub (Jan 11, 2020):

This should be fixed with version 2.5.0, just do:

pip install spotipy --upgrade
<!-- gh-comment-id:573340096 --> @stephanebruckert commented on GitHub (Jan 11, 2020): This should be fixed with version 2.5.0, just do: pip install spotipy --upgrade
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#178
No description provided.