Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
.. image:: https://img.shields.io/badge/License-MIT-green.svg :alt: bulk-whois-api-py license :target: https://opensource.org/licenses/MIT
.. image:: https://img.shields.io/pypi/v/bulk-whois-api.svg :alt: bulk-whois-api-py release :target: https://pypi.org/project/bulk-whois-api
.. image:: https://github.com/whois-api-llc/bulk-whois-api-py/workflows/Build/badge.svg :alt: bulk-whois-api-py build :target: https://github.com/whois-api-llc/bulk-whois-api-py/actions
The client library for
Bulk Whois API <https://whois.whoisxmlapi.com/bulk-api>
_
in Python language.
The minimum Python version is 3.7.
.. code-block:: shell
pip install bulk-whois-api
Full API documentation available here <https://whois.whoisxmlapi.com/bulk-api/documentation/making-requests>
_
.. code-block:: python
from bulkwhoisapi import *
client = Client('Your API key')
.. code-block:: python
domains = [
'example.com',
'example.org'
]
result = client.create_request(domains=domains)
# Used for further requests
request_id = result.request_id
.. code-block:: python
result = client.get_records(
request_id=request_id,
max_records=len(domains)
)
# Finished once result.records_left == 0
print(result)
.. code-block:: python
result = client.get_requests()
.. code-block:: python
client.download(filename='records.csv', request_id=request_id)
.. code-block:: python
# Paginate over processed records and get results in XML
result = client.get_records_raw(
request_id=request_id,
max_records=1,
start_index=2,
output_format=Client.XML_FORMAT
)
.. code-block:: python
ResponseCreate:
- request_id: str
- invalid_domains: [str]
ResponseRecords:
- no_data_available: bool
- request_id: str
- total_records: int
- records_left: int
- records_processed: int
- domain_list: [str]
- whois_records: [BulkWhoisRecord]
ResponseRequests:
- user_requests: [BulkRequest]
FAQs
Python client library for Bulk Whois API.
We found that bulk-whois-api 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.