From da1bc98fef7fd7ac3f8dbef5776d8ac9f1a37e49 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 25 May 2021 05:38:20 -0500 Subject: [PATCH] Update and improve documentation for API.get_settings --- tweepy/api.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.25.1