Integrated with CriminalIP API with Python.
- Install from git
git clone https://github.com/haginara/PyCriminalIP.git
cd PyCriminalIP
python setup.py install
- Install from pypi
pip install pycriminalip
import typing
from criminalip import CriminalIP
ip = IP('api_key_from_criminalip_io')
ip_data: dict[str, typing.Any] = ip.data('aispera.com')
print(ip_data)
It requires pipenv
to manage the requirements. And it also requires make command as optional
pipenv install
pipenv run pytest
# or
pipenv run python -m unittest tests.test_CriminalIP