CertCenter API Python Implementation
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
CertCenter.py
LICENSE
MANIFEST.in
README.md
README.rst
setup.cfg
setup.py

README.md

Installation

As this project now is a part of the Python Package Index you may be able to install the CertCenter module with a single command:

$ pip install CertCenter

If pip is not installed on your computer, you should read this.

Usage

# Import the module
import CertCenter

# Instantiate
api = CertCenter.CertAPI()

# Set authentication information (valid OAuth2 bearer token)
api.setBearer('XYZXYZXYZ.oauth2.certcenter.com')

# Call a method (for instance, the Limit method)
api.Limit()

How can I get a valid OAuth2 bearer token?

It's quite easy and a howto is already available:

Which methods are available and what kind of data do I need?

Please refer to the detailed REST API documentation:

You may pass all required data as dict objects as demonstrated in this projects example implementations.

Documentation

An extensive API and module documentation is available at https://api.certcenter.help