Update and improve documentation for API.retweeters
authorHarmon <Harmon758@gmail.com>
Sat, 22 May 2021 13:14:19 +0000 (08:14 -0500)
committerHarmon <Harmon758@gmail.com>
Sat, 22 May 2021 13:14:19 +0000 (08:14 -0500)
tweepy/api.py

index 55ca04795409077a5e9061eaa195ad4226c869c0..f5b4dfbbc8f775154ce607687f3c1c5c9d5f1944 100644 (file)
@@ -751,14 +751,24 @@ class API:
         Returns up to 100 user IDs belonging to users who have retweeted the
         Tweet specified by the ``id`` parameter.
 
-        :param id: |sid|
-        :param count: |count|
-        :param cursor: |cursor|
-        :param stringify_ids: |stringify_ids|
+        Parameters
+        ----------
+        id
+            |sid|
+        count
+            |count|
+        cursor
+            |cursor|
+        stringify_ids
+            |stringify_ids|
 
-        :rtype: list of :class:`int`
+        Returns
+        -------
+        :py:class:`List`\ [:class:`int`]
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids
         """
         return self.request(
             'GET', 'statuses/retweeters/ids', endpoint_parameters=(