This is the part one of the dicussion where we will work with saved searches or alerts in splunk python SDK.
Code used in this tutorial can be downloaded from the below repo,
https://github.com/siddharthajuprod07/youtube/tree/master/working_with_ss_1
Python SDK documentation:
https://dev.splunk.com/enterprise/docs/devtools/python/sdk-python/howtousesplunkpython/howtowork
Python Class documentation:
https://docs.splunk.com/DocumentationStatic/PythonSDK/1.6.13/client.html
Splunk saved search endpoint documentation:
https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches