Skip to main content

Proofpoint ITM API client library

Project description

proofpoint_itm

Proofpoint ITM API client library for python

Installation

python -m pip install proofpoint_itm

Usage

Create a front end script to import the ITMClient class and create a new ITMClient object by passing in the tenant ID (first part of the admin console url), API Client ID, and client secret as a dict.

from proofpoint_itm import ITMClient

itm_client = ITMClient(
    {
        'tenant_id': <tenant id>,
        'client_id': <api client id>,
        'client_secret': <api client secret>
    }
)

Important changes:

v0.9.0 - BREAKING CHANGE: Now uses requests package instead of custom HTTP client. All returns are now python dictionaries instead of urllib response objects. This means that all previous code that used the client will need to be updated to handle the new return types.

v0.8.0 - activity_search() now uses a different backend API call that requires a different search query format. Any previous searches will need to be recreated in the new format. Generate a new exploration and view the query to see the new format.

Documentation

General documentation can be found here: proofpoint_itm documentation

Detailed API reference documentation here: API Reference

Project details


Download files

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

Source Distribution

proofpoint_itm-0.9.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proofpoint_itm-0.9.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file proofpoint_itm-0.9.0.tar.gz.

File metadata

  • Download URL: proofpoint_itm-0.9.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for proofpoint_itm-0.9.0.tar.gz
Algorithm Hash digest
SHA256 ebe9e67e7ad1e3d20f4a10ddd545f56e004482dfc819f5c5342e63c090084bf8
MD5 87eb7a51b1f4af0bf677673edeeb31db
BLAKE2b-256 cb4ccdbf3fea2815053753507d6ed161697db3dd140b5364088739e0bc165384

See more details on using hashes here.

File details

Details for the file proofpoint_itm-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: proofpoint_itm-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for proofpoint_itm-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d20c2238a88a1a3aa8c0e5ee3403071b57e54851b8ea5a8e104f697149aeba02
MD5 f4cc22fb6f18dd566fd5a14660b4b7f8
BLAKE2b-256 4da20047175817f9299d90378f9ee21b8c52a6ad7348ec9eaf86f514f04fec88

See more details on using hashes here.

Supported by

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