Package: cloudmersive-security-api-client
cloudmersive_security_api_clientThe security APIs help you detect and block security threats.This Python package provides a native API client forCloudmersive Security Threat Detection APIAPI version: v1Package version: 3.0.1Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importcloudmersive_security_api_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importcloudmersive_security_api_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportcloudmersive_security_api_clientfromcloudmersive_security_api_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: Apikeyconfiguration=cloudmersive_security_api_client.Configuration()configuration.api_key['Apikey']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Apikey'] = 'Bearer'# create an instance of the API classapi_instance=cloudmersive_security_api_client.ContentThreatDetectionApi(cloudmersive_security_api_client.ApiClient(configuration))value='value_example'# str | User-facing text input.try:# Automatically detect threats in an input stringapi_response=api_instance.content_threat_detection_automatic_threat_detection_string(value)pprint(api_response)exceptApiExceptionase:print("Exception when calling ContentThreatDetectionApi->content_threat_detection_automatic_threat_detection_string:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.cloudmersive.comClassMethodHTTP requestDescriptionContentThreatDetectionApicontent_threat_detection_automatic_threat_detection_stringPOST/security/threat-detection/content/automatic/detect/stringAutomatically detect threats in an input stringContentThreatDetectionApicontent_threat_detection_check_sql_injection_stringPOST/security/threat-detection/content/sql-injection/detect/stringCheck text input for SQL Injection (SQLI) attacksContentThreatDetectionApicontent_threat_detection_check_xxePOST/security/threat-detection/content/xxe/detect/xml/stringProtect text input from XML External Entity (XXE) attacksContentThreatDetectionApicontent_threat_detection_detect_insecure_deserialization_json_stringPOST/security/threat-detection/content/insecure-deserialization/json/detect/stringDetect Insecure Deserialization JSON (JID) attacks in a stringContentThreatDetectionApicontent_threat_detection_protect_xssPOST/security/threat-detection/content/xss/detect/stringProtect text input from Cross-Site-Scripting (XSS) attacks through normalizationNetworkThreatDetectionApinetwork_threat_detection_detect_ssrf_urlPOST/security/threat-detection/network/url/ssrf/detectCheck a URL for Server-side Request Forgery (SSRF) threatsNetworkThreatDetectionApinetwork_threat_detection_is_botPOST/security/threat-detection/network/ip/is-botCheck if IP address is a Bot client threatNetworkThreatDetectionApinetwork_threat_detection_is_threatPOST/security/threat-detection/network/ip/is-threatCheck if IP address is a known threatNetworkThreatDetectionApinetwork_threat_detection_is_tor_nodePOST/security/threat-detection/network/ip/is-tor-nodeCheck if IP address is a Tor node serverDocumentation For ModelsIPThreatDetectionResponseStringAutomaticThreatDetectionStringInsecureDeserializationJsonDetectionStringSqlInjectionDetectionResultStringXssProtectionResultStringXxeDetectionResultThreatDetectionBotCheckResponseThreatDetectionTorNodeResponseUrlSsrfThreatDetectionRequestFullUrlSsrfThreatDetectionResponseFullDocumentation For AuthorizationApikeyType: API keyAPI key parameter name: ApikeyLocation: HTTP headerAuthor