Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
.. image:: https://img.shields.io/badge/License-MIT-green.svg :alt: domain-reputation-py license :target: https://opensource.org/licenses/MIT
.. image:: https://img.shields.io/pypi/v/domain-reputation.svg :alt: domain-reputation-py release :target: https://pypi.org/project/domain-reputation
.. image:: https://github.com/whois-api-llc/domain-reputation-py/workflows/Build/badge.svg :alt: domain-reputation-py build :target: https://github.com/whois-api-llc/domain-reputation-py/actions
The client library for
Domain Reputation API <https://domain-reputation.whoisxmlapi.com/api>
_
in Python language.
The minimum Python version is 3.6.
.. code-block:: shell
pip install domain-reputation
Full API documentation available here <https://domain-reputation.whoisxmlapi.com/api/documentation/making-requests>
_
.. code-block:: python
from domainreputation import *
client = Client('Your API key')
.. code-block:: python
# Get DNS records for a domain name.
response = client.get('youtube.com')
print(response)
# Get raw API response in XML format
raw_result = client.get_raw('bbc.com',
output_format=Client.XML_FORMAT)
Extra request parameters
.. code-block:: python
result = client.get(
'samsung.com',
Client.MODE_FULL)
.. code-block:: python
Response:
- mode: str
- reputation_score: float
- test_results: [TestResult]
- test: str
- test_code: int
- warnings: [str]
- warning_codes: [int]
.. code-block:: python
{
'mode': 'full',
'reputation_score': 81.16,
'test_results':
[
{
"test": "Name servers configuration meets best practices",
"testCode": 76,
"warnings": [
"Some name servers are located on a single ASN:
ns44.domaincontrol.com - AS44273, ns43.domaincontrol.com - AS44273"
],
"warningCodes": [
1013
]
},
{
"test": "Mail servers configuration check",
"testCode": 80,
"warnings": [
"AAAA records not configured for mail servers",
"SPF record not configured",
"DMARC is not configured"
],
"warningCodes": [
5007,
5015,
5016
]
},
{
"test": "Malware databases check",
"testCode": 82,
"warnings": [
"Status: dangerous"
],
"warningCodes": [
4001
]
},
{
"test": "SSL Certificate configuration",
"testCode": 89,
"warnings": [
"No SSL certificates found"
],
"warningCodes": [
6023
]
}
]
}
FAQs
Python client library for Domain Reputation API.
We found that domain-reputation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.