Skip to content

Commit

Permalink
Rename id_ API.statuses_lookup parameter to id
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 8, 2021
1 parent b91be22 commit f13a34b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ def home_timeline(self, **kwargs):
)

@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'
Expand Down

0 comments on commit f13a34b

Please sign in to comment.