mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Lint
This commit is contained in:
parent
9ed584b398
commit
28485cfa3e
@ -3,7 +3,8 @@ from spotipy.oauth2 import SpotifyOAuth
|
|||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
from time import sleep
|
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
|
# Shows playing devices
|
||||||
res = sp.devices()
|
res = sp.devices()
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import spotipy
|
import spotipy
|
||||||
import os
|
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
spotify = spotipy.Spotify(auth_manager=spotipy.SpotifyOAuth())
|
spotify = spotipy.Spotify(auth_manager=spotipy.SpotifyOAuth())
|
||||||
me = spotify.me()
|
me = spotify.me()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user