diff --git a/README.rst b/README.rst index eb8214c..83f7a76 100644 --- a/README.rst +++ b/README.rst @@ -16,11 +16,11 @@ Example for cleaning a file. .. code-block:: python - import metashield_clean_up + from metashield_clean_up.api import MetashieldCleanUp - api = metashield_clean_up.MetashieldCleanUp("APP_ID_HERE", "SECRET_KEY_HERE") + 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["resultId"]) + response = api.get_clean_result(response.data["cleanId"]) Run tests diff --git a/metashield_clean_up/__init__.py b/metashield_clean_up/__init__.py index 4566e13..63bd757 100644 --- a/metashield_clean_up/__init__.py +++ b/metashield_clean_up/__init__.py @@ -16,4 +16,4 @@ # License along with this library if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -__version__ = "0.1.1" +__version__ = "0.1.2"