semvec/pypi-packages huggingface dataset:
pyproofpoint 1.0.2
A python wrapper for proofpoint's threat insight API
Requires Python: >=3.5

# 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)
```