This is a simple python library for utilizing sslmate's certspotter v1 API.
Installation:
pip install certspotterfrom 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 git@github.com: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
VERSIONin setup.py. - Run
git tag <VERSION>. - Run git push --tags.