Update and improve documentation for API.rate_limit_status
authorHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 16:11:49 +0000 (11:11 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 16:11:49 +0000 (11:11 -0500)
tweepy/api.py

index 96a804d0eb16049d60674104c4e95893e5d7a6cb..2e273e2f8e2c1e5a8b9a865fcc28fcc726512da2 100644 (file)
@@ -3942,9 +3942,14 @@ class API:
         :param resources: A comma-separated list of resource families you want
                           to know the current rate limit disposition for.
 
-        :rtype: :class:`JSON` object
+        Returns
+        -------
+        :class:`dict`
+            JSON
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status
         """
         return self.request(
             'GET', 'application/rate_limit_status', endpoint_parameters=(