certspotter

sslmate CertSpotter API


Keywords
certspotter, python, sslmate
License
MIT
Install
pip install certspotter==1.0.12

Documentation

CircleCI PRs Welcome MIT License codecov

Goal

This is a simple python library for utilizing sslmate's certspotter v1 API.

How to use this library

Installation:

pip install certspotter
from certspotter.api import CertSpotter

api = CertSpotter("api key")
subdomains, retryinsec = api.getdomains("example.com")

Development

  1. Install Python 3.7+.
  2. Install pyenv.
  3. Git clone the repository: git clone git@github.com:fartbagxp/certspotter-api.git
  4. Setup python development environment by running: pipenv shell && pipenv install
  5. Get an API key from certspotter.
  6. Run unit test: cd certspotter-api/src && python -m unittest discover -v

Deploy new version

  1. Update VERSION in setup.py.
  2. Run git tag <VERSION>.
  3. Run git push --tags.

Helpful Documentation

The Certspotter V1 API