Update and improve documentation for API.no_retweets_friendships
authorHarmon <Harmon758@gmail.com>
Mon, 24 May 2021 21:57:52 +0000 (16:57 -0500)
committerHarmon <Harmon758@gmail.com>
Mon, 24 May 2021 21:57:52 +0000 (16:57 -0500)
tweepy/api.py

index 6b035829fa35b20141ea3ea0351bffc92a8e5f50..372c0972deb2a52430f8dfdd12047cc0a60ad498 100644 (file)
@@ -2230,11 +2230,18 @@ class API:
         Returns a collection of user_ids that the currently authenticated user
         does not want to receive retweets from.
 
-        :param stringify_ids: |stringify_ids|
+        Parameters
+        ----------
+        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/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids
         """
         return self.request(
             'GET', 'friendships/no_retweets/ids', endpoint_parameters=(