From: Harmon Date: Mon, 8 Feb 2021 08:36:25 +0000 (-0600) Subject: Rename id_ API.statuses_lookup parameter to id X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f13a34bf2309c3696fb050b8f3bac9fe1fa0b6cc;p=tweepy.git Rename id_ API.statuses_lookup parameter to id --- diff --git a/tweepy/api.py b/tweepy/api.py index 59fe255..8855eb4 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -260,11 +260,11 @@ class API: ) @payload('status', list=True) - def statuses_lookup(self, id_, *args, **kwargs): + def statuses_lookup(self, id, *args, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup """ return self.request( - 'GET', 'statuses/lookup', list_to_csv(id_), *args, + 'GET', 'statuses/lookup', list_to_csv(id), *args, endpoint_parameters=( 'id', 'include_entities', 'trim_user', 'map', 'include_ext_alt_text', 'include_card_uri'