Sixgill clients package
Project description
Sixgill Client
This module provides a simple Sixgill Darkfeed & Alerts API clients written in Python.
Sixgill's client arguments
- client_id (Mandatory) - Your client id obtained by Sixgill’s Developer portal,
- client_secret (Mandatory) - Your client secret obtained by Sixgill’s Developer portal,
- channel_code (Mandatory) - Supported Sixgill channel code. If you don't have such a code please contact Sixgill's support (support@cybersixgill.com).
- logger (Optional) - Logger.
- bulk_size (Optional) - requests bulk size, default 1000 items.
Quick Example
from sixgill.sixgill_darkfeed_client import SixgillDarkFeedClient
from sixgill.sixgill_alert_client import SixgillAlertClient
CLIENT_ID = "<Replace with your client id>"
CLIENT_SECRET = "<Replace with your client secret>"
CHANNEL_CODE = "<Replace with channel code>"
sixgill_darkfeed_client = SixgillDarkFeedClient(CLIENT_ID, CLIENT_SECRET, CHANNEL_CODE)
for incident in sixgill_darkfeed_client.get_incidents():
sixgill_darkfeed_client.mark_digested_item(incident)
print(incident)
sixgill_alert_client = SixgillAlertClient(CLIENT_ID, CLIENT_SECRET, CHANNEL_CODE)
for alert in sixgill_alert_client.get_alerts():
sixgill_alert_client.mark_digested_item(alert)
print(alert)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sixgill-clients-0.0.2.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for sixgill_clients-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b050d153ca5157b2b854682154bae02f020c270609364bdad3169047ba9c9aad |
|
MD5 | 12474ec4dce2e850019da4237b84c167 |
|
BLAKE2b-256 | d9753e869ad70545e42dee7ab08c64aa760a88998ea47c5ac578a5216e976453 |