projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4626c42
)
Rename status_id API.retweets parameter to id
author
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:12:40 +0000
(22:12 -0600)
committer
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:12:40 +0000
(22:12 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index c857846c705af0711542e558382d3939d3f20ef0..6b9761d11b554fd7a26d96dc98327db4fe7568d1 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-422,11
+422,11
@@
class API:
)
@payload('status', list=True)
- def retweets(self,
status_
id, *args, **kwargs):
+ def retweets(self, id, *args, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets-id
"""
return self.request(
- 'GET', f'statuses/retweets/{
status_
id}', *args,
+ 'GET', f'statuses/retweets/{id}', *args,
endpoint_parameters=(
'count',
), **kwargs