From: Harmon Date: Tue, 25 May 2021 10:38:20 +0000 (-0500) Subject: Update and improve documentation for API.get_settings X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=da1bc98fef7fd7ac3f8dbef5776d8ac9f1a37e49;p=tweepy.git Update and improve documentation for API.get_settings --- diff --git a/tweepy/api.py b/tweepy/api.py index 5c516cf..04ad09a 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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