def list_latest_album_by_artist(artist_name): # TODO -- can we do this without a subscription? if not api.use_store: return statement(render_template("not_supported_without_store")) api = GMusicWrapper.generate_api() latest_album = api.get_latest_artist_albums(artist_name=artist_name) return statement(latest_album)
def list_latest_album_by_artist(artist_name): api = GMusicWrapper.generate_api() latest_album = api.get_latest_artist_albums(artist_name=artist_name) return statement(latest_album)