mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 01:10:45 +00:00
spotipy
This commit is contained in:
1 parent
9105e58562
commit
de9b99afc1
1 file changed
+14
@@ -0,0 +1,14 @@
|
||||
# shows artist info for a URN or URL
|
||||
|
||||
import spotipy
|
||||
import sys
|
||||
import pprint
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
str = sys.argv[1]
|
||||
else:
|
||||
str = 'Radiohead'
|
||||
|
||||
sp = spotipy.Spotify()
|
||||
result = sp.search(str)
|
||||
pprint.pprint(result)
|
||||
Reference in new issue
Block a user