mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 17:23:53 +00:00
commit
c075f80470
@ -12,7 +12,7 @@ def get_artist(name):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def show_artist_albums(id):
|
def show_artist_albums(artist):
|
||||||
albums = []
|
albums = []
|
||||||
results = sp.artist_albums(artist['id'], album_type='album')
|
results = sp.artist_albums(artist['id'], album_type='album')
|
||||||
albums.extend(results['items'])
|
albums.extend(results['items'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user