MCPcopy
hub / github.com/spotipy-dev/spotipy / user_unfollow_artists

Method user_unfollow_artists

spotipy/client.py:1673–1679  ·  view source on GitHub ↗

Unfollow one or more artists Parameters: - ids - a list of artist IDs

(self, ids=[])

Source from the content-addressed store, hash-verified

1671 return self._put("me/library", uris=",".join(ulist))
1672
1673 def user_unfollow_artists(self, ids=[]):
1674 """ Unfollow one or more artists
1675 Parameters:
1676 - ids - a list of artist IDs
1677 """
1678 alist = [self._get_uri("artist", a) for a in ids]
1679 return self._delete("me/library", uris=",".join(alist))
1680
1681 def user_unfollow_users(self, ids=[]):
1682 """ Unfollow one or more users

Calls 2

_get_uriMethod · 0.95
_deleteMethod · 0.95