Update and improve documentation for API.get_settings
authorHarmon <Harmon758@gmail.com>
Tue, 25 May 2021 10:38:20 +0000 (05:38 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 25 May 2021 10:38:20 +0000 (05:38 -0500)
tweepy/api.py

index 5c516cf343947a792b8776609381a0bda7c2f662..04ad09a26002197a02f13898207fac5e8ff6b97a 100644 (file)
@@ -2518,9 +2518,14 @@ class API:
         Returns settings (including current trend, geo and sleep time
         information) for the authenticating user.
 
-        :rtype: :class:`JSON` object
+        Returns
+        -------
+        :class:`dict`
+            JSON
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-account-settings
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-account-settings
         """
         return self.request(
             'GET', 'account/settings', use_cache=False, **kwargs