From 36f75f7557facd8901934d0bb4f5f5c6a2ea5561 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 25 May 2021 06:11:04 -0500 Subject: [PATCH] Update and improve documentation for API.create_saved_search --- tweepy/api.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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=( -- 2.25.1