Metadata-Version: 2.1
Name: pyproofpoint
Version: 1.0.0
Summary: A python wrapper for proofpoint's threat insight API
Home-page: https://github.com/Derekt2/PyProofpoint
Author: Derek Thomas2
Author-email: derek.e.thomas@biola.edu
Maintainer: Derek Thomas2
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Telecommunications Industry
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Security
Classifier: Topic :: Internet
Requires-Python: >=3.5
Description-Content-Type: text/markdown
License-File: LICENSE

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


