From f13a34bf2309c3696fb050b8f3bac9fe1fa0b6cc Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 8 Feb 2021 02:36:25 -0600 Subject: [PATCH] Rename id_ API.statuses_lookup parameter to id --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 2.25.1