Package: cloudmersive-virus-api-client
cloudmersive_virus_api_clientThe Cloudmersive Virus Scan API lets you scan files and content for viruses and identify security issues with content.This Python package provides a native API client forCloudmersive Anti-Virus Scan APIAPI version: v1Package version: 3.2.0Build 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_virus_api_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importcloudmersive_virus_api_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportcloudmersive_virus_api_clientfromcloudmersive_virus_api_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: Apikeyconfiguration=cloudmersive_virus_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_virus_api_client.ScanApi(cloudmersive_virus_api_client.ApiClient(configuration))input_file='/path/to/file.txt'# file | Input file to perform the operation on.try:# Scan a file for virusesapi_response=api_instance.scan_file(input_file)pprint(api_response)exceptApiExceptionase:print("Exception when calling ScanApi->scan_file:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.cloudmersive.comClassMethodHTTP requestDescriptionScanApiscan_filePOST/virus/scan/fileScan a file for virusesScanApiscan_file_advancedPOST/virus/scan/file/advancedAdvanced Scan a file for virusesScanApiscan_websitePOST/virus/scan/websiteScan a website for malicious content and threatsScanCloudStorageApiscan_cloud_storage_scan_aws_s3_filePOST/virus/scan/cloud-storage/aws-s3/singleScan an AWS S3 file for virusesScanCloudStorageApiscan_cloud_storage_scan_aws_s3_file_advancedPOST/virus/scan/cloud-storage/aws-s3/single/advancedAdvanced Scan an AWS S3 file for virusesScanCloudStorageApiscan_cloud_storage_scan_azure_blobPOST/virus/scan/cloud-storage/azure-blob/singleScan an Azure Blob for virusesScanCloudStorageApiscan_cloud_storage_scan_azure_blob_advancedPOST/virus/scan/cloud-storage/azure-blob/single/advancedAdvanced Scan an Azure Blob for virusesScanCloudStorageApiscan_cloud_storage_scan_gcp_storage_filePOST/virus/scan/cloud-storage/gcp-storage/singleScan an Google Cloud Platform (GCP) Storage file for virusesScanCloudStorageApiscan_cloud_storage_scan_gcp_storage_file_advancedPOST/virus/scan/cloud-storage/gcp-storage/single/advancedAdvanced Scan an Google Cloud Platform (GCP) Storage file for virusesScanCloudStorageApiscan_cloud_storage_scan_share_point_online_filePOST/virus/scan/cloud-storage/sharepoint-online/site/singleVirus Scan a file in a SharePoint Online Site DriveScanCloudStorageApiscan_cloud_storage_scan_share_point_online_file_advancedPOST/virus/scan/cloud-storage/sharepoint-online/site/advancedAdvanced Virus Scan a file in a SharePoint Online Site DriveDocumentation For ModelsAdditionalAdvancedScanInformationCloudStorageAdvancedVirusScanResultCloudStorageVirusFoundCloudStorageVirusScanResultVirusFoundVirusScanAdvancedResultVirusScanResultWebsiteScanRequestWebsiteScanResultDocumentation For AuthorizationApikeyType: API keyAPI key parameter name: ApikeyLocation: HTTP headerAuthor