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

index 9256ae2dd11334ffe2add2921af2d8930b5cadf4..99a5ecbfcaeb4669eef7008ec6cc746edb2eff92 100644 (file)
@@ -3894,9 +3894,14 @@ class API:
         It is recommended applications request this endpoint when they are
         loaded, but no more than once a day.
 
-        :rtype: :class:`JSON` object
+        Returns
+        -------
+        :class:`dict`
+            JSON
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/configuration/api-reference/get-help-configuration
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/configuration/api-reference/get-help-configuration
         """
         return self.request('GET', 'help/configuration', **kwargs)