https://github.com/fhightower/robtex-python
Simple python wrapper for the Robtex API (see https://www.robtex.com/api/).
https://github.com/fhightower/robtex-python
as-number dns dns-api ip-address passive-dns robtex threatintel
Last synced: 2 months ago
JSON representation
Simple python wrapper for the Robtex API (see https://www.robtex.com/api/).
- Host: GitHub
- URL: https://github.com/fhightower/robtex-python
- Owner: fhightower
- License: mit
- Created: 2017-09-19T21:11:39.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2021-04-17T20:49:53.000Z (over 4 years ago)
- Last Synced: 2025-07-21T12:12:18.985Z (3 months ago)
- Topics: as-number, dns, dns-api, ip-address, passive-dns, robtex, threatintel
- Language: Python
- Size: 51.8 KB
- Stars: 11
- Watchers: 4
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
*************
Robtex Python
*************.. image:: https://img.shields.io/pypi/v/robtex_python.svg
:target: https://pypi.python.org/pypi/robtex_python.. image:: https://img.shields.io/travis/fhightower/robtex-python.svg
:target: https://travis-ci.org/fhightower/robtex-python.. image:: https://codecov.io/gh/fhightower/robtex-python/branch/master/graph/badge.svg
:target: https://codecov.io/gh/fhightower/robtex-python.. image:: https://api.codacy.com/project/badge/Grade/8151c710cd704ddeb8575ee6dfbbd96e
:target: https://www.codacy.com/app/fhightower/robtex-pythonSimple python wrapper for the `Robtex API `_ .
Installation
============Stable release
--------------To install Robtex Python, run this command in your terminal:
.. code-block:: console
pip install robtex-python
This is the preferred method to install the Robtex API wrapper, as it will always install the most recent stable release.
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process... _pip: https://pip.pypa.io
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/From sources
------------The sources for Robtex Python can be downloaded from the `Github repo`_.
You can either clone the public repository:
.. code-block:: console
$ git clone git://github.com/fhightower/robtex-python
Or download the `tarball`_:
.. code-block:: console
$ curl -OL https://github.com/fhightower/robtex-python/tarball/master
Once you have a copy of the source, you can install it with:
.. code-block:: console
$ python3 setup.py install
.. _Github repo: https://github.com/fhightower/robtex-python
.. _tarball: https://github.com/fhightower/robtex-python/tarball/masterUsage
=====Via Python
----------You can use Robtex Python in a script as follows:
.. code-block:: python
import robtex_python
response = robtex_python.pdns_forward("example.com")Via Command Line
----------------You can use Robtex Python as a command-line tool as follows:
.. code-block:: shell
Usage:
robtex_python --ip=
robtex_python --as=
robtex_python --pdns-forward=
robtex_python --pdns-reverse=
robtex_python (-h | --help)
robtex_python --versionCredits
=======This package was created with Cookiecutter_ and the `fhightower/python-project-template`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`fhightower/python-project-template`: https://github.com/fhightower/python-project-template