mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-10 17:47:25 +00:00
11 lines
288 B
Python
11 lines
288 B
Python
from spotipy.oauth2 import SpotifyClientCredentials
|
|
import spotipy
|
|
import pprint
|
|
|
|
client_credentials_manager = SpotifyClientCredentials()
|
|
sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
|
|
|
|
search_str = 'Muse'
|
|
result = sp.search(search_str)
|
|
pprint.pprint(result)
|