Scarlet Shark REST API Python client
Project description
scarlet-shark-python
Scarlet Shark REST API Python client.
Installation
pip install scarlet-shark-client
Usage example
from scarlet_shark_client.client import ClientFactory
client = ClientFactory.get_client('<your API key>', api_version='v0.4', print_json=True)
result = client.search_domain(domain='scarletshark.com')
prints
{
"age": 4043,
"associated_urls": [],
"classification": "security",
"disclosure_email": "unknown",
"domain": "scarletshark.com",
"domain_description": "",
"ip": "40.[redacted]",
"reference_url": "",
"registered": "2012-04-02",
"service": {
"service_email": "",
"service_id": 0,
"service_name": "unknown",
"service_trust": "unknown",
"service_type": "unknown",
"service_url": ""
},
"tags": [
"security"
],
"threat_actor_aliases": [],
"threat_actor_id": 0,
"threat_classification": "safe",
"threat_explanation": "The domain is considered to be safe and it hosts no known malicious content.",
"tracking_domain": false
}
Supported actions
API version 0.4
- search_dns
- search_domain
- search_email
- search_hash
- search_ip
- search_network
- search_threat_actors
- search_threat_tools
- search_url
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
Built Distribution
File details
Details for the file scarlet-shark-client-1.0.5.tar.gz
.
File metadata
- Download URL: scarlet-shark-client-1.0.5.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ceec9026c37dbcdc89cda0cb3574a409d88781d50af993dc33773f04138a6a |
|
MD5 | 7aabcc13681f8f279c7cb3359d64b9ca |
|
BLAKE2b-256 | 900550821b67f46bf8bb1d38c6e993b7ee536d0a00353c7ecde1d03e6f63ffd7 |
File details
Details for the file scarlet_shark_client-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: scarlet_shark_client-1.0.5-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8508d9f1768279dec49221b7cf03cafd8a4f9e41d2920be1adcb944362848720 |
|
MD5 | 75aa0a901c080a5cd64dd3589c441558 |
|
BLAKE2b-256 | e38df48060cf89c785ba8d0ae0a1819c2b2b1eeb112398667c27973365583fcb |