API wrapper for the Zetalytics Zonecruncher API.
Project description
zetalytics-api
A straightforward python library for the Zetalytics Zonecruncher API. For a list of all endpoints and query parameters, refer to the API documentation.
Use of the Zetalytics API and zetalytics-api client requires a user token. You can request one here.
Installation
To install zetalytics-api, use Pypi via pip.
pip install zetalytics-api
Initialization
from zetalytics import Zetalytics
zeta = Zetalytics(token=[YOUR USER TOKEN])
Examples
domain2ns
Search passive dns by domain for NS records
query = {'q': 'example.com'}
zeta.domain2ns(**query)
email_address
Search for domains sharing a registration email address or SOA email from passive
query = {'q': 'johndoe@example.com', 'size': 10}
zeta.email_address(**query)
Search passive dns by IP, CIDR, or Range (v6 compatible)
query = {'q': '1.2.3.4', 'tsfield': 'first_seen', 'start': '2019-01-01', 'size': 100}
zeta.ip(**query)
License
This project is licensed under the GNU General Public License v3.0.
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 zetalytics-api-1.0.1.tar.gz
.
File metadata
- Download URL: zetalytics-api-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca4c8d4815c4881a5a4b850566dac9c856453f26b751fb36df73798563682114 |
|
MD5 | 8d7f1fd8cae890c4d11f08573c3c5eca |
|
BLAKE2b-256 | 95118e5a16c06f4642b77549cfea736dc619366195f4a80fe6e89c543f5ec7a3 |
File details
Details for the file zetalytics_api-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: zetalytics_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc643180feb6e05973adff14d40503f82a60fd308c68ebc205753f63e68e37b |
|
MD5 | be6340c57f0a9eab5494e8f5aaeda8a6 |
|
BLAKE2b-256 | 7dfc25acad2285b98d8d7c37d94b206c5721a10bfe7fc56d9428525f60a4e921 |