metashield-clean-up

Metashield Clean-up Online API SDK


Keywords
sdk, api, client, clean-up, metashield
License
BSD-3-Clause
Install
pip install metashield-clean-up==0.1.2

Documentation

Metashield-clean-up-sdk-python

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