Metadata-Version: 2.1
Name: psat-result-api
Version: 1.0.3
Summary: Python module to interact with the Proofpoint Security Awareness Training (PSAT) Results API
Home-page: https://github.com/regg00/psat-result-api
Author: Régis Tremblay Lefrançois
Author-email: regg00@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/regg00/psat-result-api/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

## Project description
Small and simple package to connect to the PSAT (Proofpoint Security Awareness Traning) result API.

## Proofpoint Result API

See the [REST API full documentation](https://proofpoint.securityeducation.com/api/reporting/documentation/#api-Introduction) for more information.

## Installation
```
pip install psat-result-api
```

## Example
```python
from psat import ResultApi

p = ResultApi("insert-api-token-here")

# Return training assignments data
training = p.get_training() 

# Return users data with some parameters
users = p.get_users(
        params={
            "user_tag_enable": "FALSE",
            "filter[_useremailaddress]": "[user@domain.com]",
        }
    )

```

## Supported endpoints
* CyberStrength ( *get_users()* )
* PhishAlarm ( *get_cyberstrength()* )
* Phishing ( *get_phishalarm()* )
* Training ( *get_phishing()* )
* Users ( *get_training()* )
* TrainingEnrollments ( *get_trainingenrollments()* )

