From 51377bc50552d0fee55f9567e194f3b4d3a94de3 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 25 May 2021 05:54:41 -0500 Subject: [PATCH] Update and improve documentation for API.get_saved_search --- tweepy/api.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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) -- 2.25.1