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.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for sixgill_clients-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4c81278bcd3543e501532c7c7ab3dbf528ccb3c5c7e67f1187741331f54b83 |
|
MD5 | f598da8392679e6c7c1617ee6ed0a387 |
|
BLAKE2b-256 | 4d1f937e1e30a6de51550d73d43a209c9761cba60531113c31299495d7f8003d |