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 for more information.
Installation
pip install psat-result-api
Example
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() )
Release files for psat-result-api 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psat-result-api-1.0.3.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psat_result_api-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / psat-result-api-1.0.3.tar.gz
| Download URL | psat-result-api-1.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb952da2a305da958268fa10889a6ffddcc7846f6cedf0fe2ab0f59a61e2ae23
|
|
BLAKE2b-256 checksum How to use checksums |
8a65e179d642a45fdfb8ab233b8fcf45d2d33453ee3c9bf81edfbdd6c17f3ad2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|
Release files / psat_result_api-1.0.3-py3-none-any.whl
| Download URL | psat_result_api-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2de9594687332bd1a9e0d29fab9f9179cf993c426ba6d34cb8e248ce6596df86
|
|
BLAKE2b-256 checksum How to use checksums |
7d819c9890fb50bcaa55df87bfe93d6049af622c89d67c690471821fd8b1a82c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|