feat: 🚧 Continue working on spotify integration
This commit is contained in:
@ -36,4 +36,7 @@ def create_spotify_oauth():
|
||||
client_secret=os.getenv("client_secret"),
|
||||
redirect_uri=url_for('callback', _external=True),
|
||||
scope='playlist-modify-public'
|
||||
)
|
||||
)
|
||||
|
||||
def get_spotify_username():
|
||||
return spotipy.Spotify(auth_manager=SpotifyOAuth(client_id=os.getenv("client_id"), client_secret=os.getenv("client_secret"), redirect_uri=url_for('callback', _external=True))).me()
|
Reference in New Issue
Block a user