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 pyzetalytics 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
zetalytics-api-1.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for zetalytics_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb3ee9c113208b73f7193a0e4694340794ace8e59354850c4e88adbb41fbc23 |
|
MD5 | ab1c28c2a50812ba6c727b7d9619359a |
|
BLAKE2b-256 | 53728b4935a04f67951dcc75ccf5893e67ae7b02b9a4842486262706caebb5e1 |