mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 01:10:45 +00:00
Lint
This commit is contained in:
1 parent
9ed584b398
commit
28485cfa3e
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -3,7 +3,8 @@ from spotipy.oauth2 import SpotifyOAuth
|
||||
from pprint import pprint
|
||||
from time import sleep
|
||||
|
||||
sp = spotipy.Spotify(client_credentials_manager=SpotifyOAuth(scope="user-read-playback-state,user-modify-playback-state"))
|
||||
scope = "user-read-playback-state,user-modify-playback-state"
|
||||
sp = spotipy.Spotify(client_credentials_manager=SpotifyOAuth(scope=scope))
|
||||
|
||||
# Shows playing devices
|
||||
res = sp.devices()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import spotipy
|
||||
import os
|
||||
from pprint import pprint
|
||||
|
||||
|
||||
def main():
|
||||
spotify = spotipy.Spotify(auth_manager=spotipy.SpotifyOAuth())
|
||||
me = spotify.me()
|
||||
|
||||
Reference in new issue
Block a user