Skip to main content

Metashield Clean-up Online API SDK

Project description

Installation

Install the metashield_clean_up package using pip:

pip install metashield_clean_up

Usage

Example for cleaning a file.

from metashield_clean_up.api import MetashieldCleanUp

api = MetashieldCleanUp("REPLACE_APP_ID_HERE", "REPLACE_SECRET_KEY_HERE")
response = api.clean_file(stream, "my_file.pdf")
response = api.get_clean_result(response.data["cleanId"])

Run tests

Before run tests, replace some settings in tests/settings_default.py module.

Tests was built with Python Unittest, run the following commands:

python -m unittest discover tests

Supported by

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