From: Harmon Date: Tue, 25 May 2021 10:54:41 +0000 (-0500) Subject: Update and improve documentation for API.get_saved_search X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=51377bc50552d0fee55f9567e194f3b4d3a94de3;p=tweepy.git Update and improve documentation for API.get_saved_search --- diff --git a/tweepy/api.py b/tweepy/api.py index d30bf85..62291e5 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2591,11 +2591,18 @@ class API: Retrieve the data for a saved search owned by the authenticating user specified by the given ID. - :param id: The ID of the saved search to be retrieved. + Parameters + ---------- + id + The ID of the saved search to be retrieved. - :rtype: :class:`SavedSearch` object + Returns + ------- + :class:`~tweepy.models.SavedSearch` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id """ return self.request('GET', f'saved_searches/show/{id}', **kwargs)