diff --git a/apirest/spotify.py b/apirest/spotify.py new file mode 100644 index 0000000..e4d65d3 --- /dev/null +++ b/apirest/spotify.py @@ -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() + + + +