From: Harmon Date: Tue, 25 May 2021 11:11:04 +0000 (-0500) Subject: Update and improve documentation for API.create_saved_search X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=36f75f7557facd8901934d0bb4f5f5c6a2ea5561;p=tweepy.git Update and improve documentation for API.create_saved_search --- diff --git a/tweepy/api.py b/tweepy/api.py index b594c3b..ec45236 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2835,11 +2835,18 @@ class API: Creates a saved search for the authenticated user. - :param query: The query of the search the user would like to save. + Parameters + ---------- + query + The query of the search the user would like to save. - :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/post-saved_searches-create + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/post-saved_searches-create """ return self.request( 'POST', 'saved_searches/create', endpoint_parameters=(