From: Harmon Date: Fri, 12 Feb 2021 03:49:41 +0000 (-0600) Subject: Rename screen_names API.lookup_friendships parameter to screen_name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4573b35611c8d8391373d579ccb0fe2eb6e3800b;p=tweepy.git Rename screen_names API.lookup_friendships parameter to screen_name --- diff --git a/tweepy/api.py b/tweepy/api.py index 98c22e0..b29947e 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -585,12 +585,12 @@ class API: ) @payload('relationship', list=True) - def lookup_friendships(self, user_id=None, screen_names=None, **kwargs): + def lookup_friendships(self, user_id=None, screen_name=None, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup """ return self.request( 'GET', 'friendships/lookup', list_to_csv(user_id), - list_to_csv(screen_names), endpoint_parameters=( + list_to_csv(screen_name), endpoint_parameters=( 'user_id', 'screen_name' ), **kwargs )