This is a simple python library for utilizing sslmate's certspotter v1 API.
Installation:
pip install certspotter
from certspotter.api import CertSpotter
api = CertSpotter("api key")
subdomains, retryinsec = api.getdomains("example.com")
- Install Python 3.7+.
- Install pyenv.
- Git clone the repository:
git clone [email protected]:fartbagxp/certspotter-api.git
- Setup python development environment by running:
pipenv shell && pipenv install
- Get an API key from certspotter.
- Run unit test:
cd certspotter-api/src && python -m unittest discover -v
- Update
VERSION
in setup.py. - Run
git tag <VERSION>
. - Run git push --tags.