From: Harmon Date: Sat, 22 May 2021 13:17:02 +0000 (-0500) Subject: Update and improve documentation for API.retweets X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ee0a95782e17e9cde08310b9213137a446e74726;p=tweepy.git Update and improve documentation for API.retweets --- diff --git a/tweepy/api.py b/tweepy/api.py index f5b4dfb..633c52a 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -782,13 +782,22 @@ class API: Returns up to 100 of the first Retweets of the given Tweet. - :param id: |sid| - :param count: |count| - :param trim_user: |trim_user| + Parameters + ---------- + id + |sid| + count + |count| + trim_user + |trim_user| - :rtype: list of :class:`Status` objects + Returns + ------- + :py:class:`List`\ [:class:`~tweepy.models.Status`] - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweets-id + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweets-id """ return self.request( 'GET', f'statuses/retweets/{id}', endpoint_parameters=(