Agregar script para interactuar con la API de Spotify
This commit is contained in:
parent
ad78ce307a
commit
ff51fa8ff2
|
@ -0,0 +1,16 @@
|
||||||
|
import spotipy
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
spotify = spotipy.Spotify(auth_manager=spotipy.SpotifyOAuth())
|
||||||
|
me = spotify.me()
|
||||||
|
pprint(me)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue