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

Method user_follow_users

spotipy/client.py:1665–1671  ·  view source on GitHub ↗

Follow one or more users Parameters: - ids - a list of user IDs

(self, ids=[])

Source from the content-addressed store, hash-verified

1663 return self._put("me/library", uris=",".join(alist))
1664
1665 def user_follow_users(self, ids=[]):
1666 """ Follow one or more users
1667 Parameters:
1668 - ids - a list of user IDs
1669 """
1670 ulist = [self._get_uri("user", a) for a in ids]
1671 return self._put("me/library", uris=",".join(ulist))
1672
1673 def user_unfollow_artists(self, ids=[]):
1674 """ Unfollow one or more artists

Calls 2

_get_uriMethod · 0.95
_putMethod · 0.95

Tested by 1