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.4.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for sixgill_clients-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec8e62422fac54252df10f6773474bc48991a3d0b1eff0a7dafd74e4847ecc7 |
|
MD5 | c98dea7bb846de6af511b407bab3461d |
|
BLAKE2b-256 | 8ec712cdd88fdaaeb2edfe06af84498d24f9a67d7a07d99428f7fb6497eda027 |