Skip to main content

cloudmersive_virus_api_client

The 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 for Cloudmersive Anti-Virus Scan API

  • API version: v1
  • Package version: 3.1.1
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import cloudmersive_virus_api_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import cloudmersive_virus_api_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import cloudmersive_virus_api_client
from cloudmersive_virus_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Apikey
configuration = 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 class
api_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 viruses
    api_response = api_instance.scan_file(input_file)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScanApi->scan_file: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.cloudmersive.com

Class Method HTTP request Description
ScanApi scan_file POST /virus/scan/file Scan a file for viruses
ScanApi scan_file_advanced POST /virus/scan/file/advanced Advanced Scan a file for viruses
ScanApi scan_website POST /virus/scan/website Scan a website for malicious content and threats
ScanCloudStorageApi scan_cloud_storage_scan_aws_s3_file POST /virus/scan/cloud-storage/aws-s3/single Scan an AWS S3 file for viruses
ScanCloudStorageApi scan_cloud_storage_scan_aws_s3_file_advanced POST /virus/scan/cloud-storage/aws-s3/single/advanced Advanced Scan an AWS S3 file for viruses
ScanCloudStorageApi scan_cloud_storage_scan_azure_blob POST /virus/scan/cloud-storage/azure-blob/single Scan an Azure Blob for viruses
ScanCloudStorageApi scan_cloud_storage_scan_azure_blob_advanced POST /virus/scan/cloud-storage/azure-blob/single/advanced Advanced Scan an Azure Blob for viruses
ScanCloudStorageApi scan_cloud_storage_scan_gcp_storage_file POST /virus/scan/cloud-storage/gcp-storage/single Scan an Google Cloud Platform (GCP) Storage file for viruses
ScanCloudStorageApi scan_cloud_storage_scan_gcp_storage_file_advanced POST /virus/scan/cloud-storage/gcp-storage/single/advanced Advanced Scan an Google Cloud Platform (GCP) Storage file for viruses
ScanCloudStorageApi scan_cloud_storage_scan_share_point_online_file POST /virus/scan/cloud-storage/sharepoint-online/site/single Virus Scan a file in a SharePoint Online Site Drive
ScanCloudStorageApi scan_cloud_storage_scan_share_point_online_file_advanced POST /virus/scan/cloud-storage/sharepoint-online/site/advanced Advanced Virus Scan a file in a SharePoint Online Site Drive

Documentation For Models

Documentation For Authorization

Apikey

  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

Author

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudmersive_virus_api_client-3.1.1.tar.gz (29.0 kB view details)

Uploaded Source

File details

Details for the file cloudmersive_virus_api_client-3.1.1.tar.gz.

File metadata

  • Download URL: cloudmersive_virus_api_client-3.1.1.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5

File hashes

Hashes for cloudmersive_virus_api_client-3.1.1.tar.gz
Algorithm Hash digest
SHA256 fbc1593a13022da2dea9ecbf9adde599a45cc3978eace8cb7d886044665f3847
MD5 fc6927a665639f1bf349134b887336f9
BLAKE2b-256 6c665afb27fb0a3c7eae21923cf87779c64885b2225a70bb71d5701984c08c9d

See more details on using hashes here.

Release history Release notifications | RSS feed

3.2.0

1 file

This release

3.1.1 This release

1 file

3.1.0

1 file

3.0.9

1 file

3.0.8

1 file

3.0.7

1 file

3.0.6

1 file

3.0.5

1 file

3.0.4

1 file

3.0.3

1 file

3.0.2

1 file

3.0.1

1 file

2.0.6

1 file

2.0.5

1 file

2.0.4

1 file

2.0.3

1 file

2.0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page