Overview
The client library for Subdomains Lookup API in Python language.
The minimum Python version is 3.6.
Installation
pip install subdomains-lookup
Examples
Full API documentation available here
Create a new client
from subdomainslookup import *
client = Client('Your API key')
Make basic requests
# Get categories for a domain name.
response = client.get('google.com')
for record in response.result.records:
print("Domain: " + record.domain)
Advanced usage
Extra request parameters
# Get records count
print(response.result.count)
# Get raw API response in XML
xml_response = client.get_raw('google.com', output_format=Client.XML_FORMAT)
Response model overview
Response:
- search: str
- result: Result
- count: int
- records: [Record]
- domain: str
- first_seen: datetime.datetime
- last_seen: datetime.datetime
Changelog
1.0.0 (2021-08-12)
First release
Release files for subdomains-lookup 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subdomains-lookup-1.0.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subdomains_lookup-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / subdomains-lookup-1.0.0.tar.gz
| Download URL | subdomains-lookup-1.0.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ca0afb0885cfabdb2adf916da7e6e578cb3fe7f111fd3eeca1ea0be918d7d48
|
|
BLAKE2b-256 checksum How to use checksums |
8e18f96ac758fe6b0202f72e8163e739e730d08ac99f09c24dcefb31d2067a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Release files / subdomains_lookup-1.0.0-py3-none-any.whl
| Download URL | subdomains_lookup-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3720b20d8c84aa21ad230b3f6a2c31e774445e785d9bbfd1bbc388d34bdb8154
|
|
BLAKE2b-256 checksum How to use checksums |
8068e7421686e0e6f0ec1f8dd03e63a46d05fa927500da2fd6595966840ac250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|