Skip to main content

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.

If you qualify for premium API access, inquire via our website chat at zetalytics.com for the endpoint.

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


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-2.0.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zetalytics_api-2.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file zetalytics_api-2.0.0.tar.gz.

File metadata

  • Download URL: zetalytics_api-2.0.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.1

File hashes

Hashes for zetalytics_api-2.0.0.tar.gz
Algorithm Hash digest
SHA256 0f7d9b6329d43e618182c4e77b6903b3ad8d06ef8f8cf500065aa982d8fad7bb
MD5 67c301242d57283fa5c4402a94cc40ff
BLAKE2b-256 a86c1a72db17c72fa79f261392cc0bab39f0a5b4100b38cf53a80694db8b8871

See more details on using hashes here.

File details

Details for the file zetalytics_api-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: zetalytics_api-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.1

File hashes

Hashes for zetalytics_api-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9524137f6be9025d8dcfd7e8392d24612ad69f593d8a6d05a12fd405d8f911a2
MD5 039911e5ed4905b73e7bf92f416cc99a
BLAKE2b-256 5417824576e0ccdf20988ad9adcf7f29ddbe0af50b3b9b5d2787889a9114beef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page