Skip to main content

AbuseHQ API Client

Project description

About

ahqapiclient is a library which reflects the AbuseHQ API on client side.

Dependencies

Needs python-dev packages for setup due to the usage of ujson. E.g. python-dev or python3-dev

Usage

import Client from ahqapiclient

Setup

endpoint = { “auth_method”: “HMAC”, “auth_options”: { “key”: “zwz5si71w3k4ftqkwlf1mhm84rjb13ke88xvixlf”, “user”: “user” }, “name”: “INTERNAL”, “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’)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahqapiclient-0.6.5.tar.gz (10.5 kB view details)

Uploaded Source

File details

Details for the file ahqapiclient-0.6.5.tar.gz.

File metadata

  • Download URL: ahqapiclient-0.6.5.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ahqapiclient-0.6.5.tar.gz
Algorithm Hash digest
SHA256 7b154045cab30c54a654bce39d0cf3bebc889aeff04b88b8acc4d679bb5519d5
MD5 b21fad63d0f7fac9f9948d87f8d51ede
BLAKE2b-256 b0dcd3f82f09d6b53f70cc0faf07fe3d7cb7f3d42a0cf85af1d41ebf0af49e8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page