Last updated:
0 purchases
pyproofpoint 1.0.2
PyProofpoint
Python Wrapper for Proofpoint's Threat Insight API
Install
pip3 install pyproofpoint
Docs
https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API
Usage
from pyproofpoint import proofpoint
from datetime import date
servicePrincipal = "Service Account"
APISecret = "Service AccountSecret"
pp = proofpoint.ProofPoint(servicePrincipal, APISecret)
my_date = date(2020, 12, 12).isoformat()
interval = "PT12H/" + my_date
campaigns = pp.get_campaign_ids(interval=interval)
print(campaigns)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.