+------------------------------------------+--------------------------------------+
| `GET statuses/retweeters/ids`_ | :meth:`API.get_retweeter_ids` |
+------------------------------------------+--------------------------------------+
- | `GET statuses/retweets/:id`_ | :meth:`API.retweets` |
+ | `GET statuses/retweets/:id`_ | :meth:`API.get_retweets` |
+------------------------------------------+--------------------------------------+
| `GET statuses/retweets_of_me`_ | :meth:`API.retweets_of_me` |
+------------------------------------------+--------------------------------------+
.. automethod:: API.get_retweeter_ids
-.. automethod:: API.retweets
+.. automethod:: API.get_retweets
.. automethod:: API.retweets_of_me
self.api.retweet(test_tweet_id)
self.api.unretweet(test_tweet_id)
- @tape.use_cassette('testretweets.json')
- def testretweets(self):
- self.api.retweets(test_tweet_id)
+ @tape.use_cassette('testgetretweets.json')
+ def testgetretweets(self):
+ self.api.get_retweets(test_tweet_id)
@tape.use_cassette('testgetretweeterids.json')
def testgetretweeterids(self):
)
@payload('status', list=True)
- def retweets(self, id, **kwargs):
- """retweets(id, *, count, trim_user)
+ def get_retweets(self, id, **kwargs):
+ """get_retweets(id, *, count, trim_user)
Returns up to 100 of the first Retweets of the given Tweet.
return self._api.retweet(self.id)
def retweets(self):
- return self._api.retweets(self.id)
+ return self._api.get_retweets(self.id)
def favorite(self):
return self._api.create_favorite(self.id)