Last active
February 1, 2020 17:54
-
-
Save vlad-ds/5ddc4fa62d11cb3541d7c870eee40a16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import spotipy.util as util | |
username = 'your-spotify-username' | |
client_id ='your-client-id' | |
client_secret = 'your-client-secret' | |
redirect_uri = 'http://localhost:7777/callback' | |
scope = 'user-read-recently-played' | |
token = util.prompt_for_user_token(username=username, | |
scope=scope, | |
client_id=client_id, | |
client_secret=client_secret, | |
redirect_uri=redirect_uri) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment