TinyCert v1 API wrapper
Project description
A wrapper library around TinyCert’s v1 rest api.
API details (including your API key) can be found at https://www.tinycert.org/docs/api
Preferred method of use is via the provided ContextManager.
from tinycert import auto_session
with auto_session(api_key, account, passphrase) as session:
ca_list = session.ca.list()
cert_list = session.cert.list(ca_list[0]['id'])
Or, connect and disconnect manually.
from tinycert import Session
session = Session(api_key)
session.connect(account, passphrase)
ca_list = session.ca.list()
cert_list = session.cert.list(ca_list[0]['id'])
session.disconnect()
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinycert-0.2.0.tar.gz
(5.1 kB
view hashes)