Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (29 loc) · 1.39 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.39 KB

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