ahqapiclient-0.7.9
توضیحات
AbuseHQ API Client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ahqapiclient-0.7.9 |
| نام | ahqapiclient |
| نسخه کتابخانه | 0.7.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Frederik Petersen |
| ایمیل نویسنده | fp@abusix.com |
| آدرس صفحه اصلی | https://www.abusix.com/ |
| آدرس اینترنتی | https://pypi.org/project/ahqapiclient/ |
| مجوز | - |
# DEPRECATED! Please use the information at https://[yourname].abusehq.net/api/v1/docs/ and use an http client of your liking for accessing the API directly
# AbuseHQ API Client
## About
**ahqapiclient** is a library which reflects the AbuseHQ API on client side.
## Usage
import Client from ahqapiclient
### Setup
endpoint = {
"auth_method": "JWT",
"auth_options": {
"token": "<YOUR_API_KEY>"
},
"url": "https://<yourcompany>.abusehq.net/api/v1"
}
api_client = Client(endpoint)
### Usage
#### Get a case
case = api_client.case.get_case('case_id')
#### Perform a transition
api_client.case.trigger_transition('case_id', 'transition_id')
نحوه نصب
نصب پکیج whl ahqapiclient-0.7.9:
pip install ahqapiclient-0.7.9.whl
نصب پکیج tar.gz ahqapiclient-0.7.9:
pip install ahqapiclient-0.7.9.tar.gz