No project description provided
Project description
Scramjet Middleware client
About:
This package provides a Middleware client to let you connect with your Scramjet Cloud Platform account.
Usage:
❗NOTE: You need to provide your middleware access token if you are not hosting STH locally.
import asyncio
from middleware_client.middleware_client import MiddlewareClient
from client_utils.base_client import BaseClient
# your middleware token
token = ''
# set the token
BaseClient.setDefaultHeaders({'Authorization': f'Bearer {token}'})
# middleware url
api_base ='https://api.scramjet.cloud/api/v1'
middleware = MiddlewareClient(api_base)
res = asyncio.run(middleware.get_managers())
print(res)
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
Built Distribution
Close
Hashes for scramjet-middleware-client-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53335f1c24c999a6018525e56d682a4f0e77ac29e273cc46d57dfe8a05b85204 |
|
MD5 | ec2049fd8628f88de60ae536f8270774 |
|
BLAKE2b-256 | 6a6f9a5b8ccd1aa1abb9f916a30a76af3d1d3c4017c300e9cf9e223234328b12 |
Close
Hashes for scramjet_middleware_client-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ac9a0749992ba6427a95b58dd8fea298729b0e6b7ad7f5ad65a62d1b116c79 |
|
MD5 | 24ce47b2603a9eb645d87170084e8cd8 |
|
BLAKE2b-256 | 72c20b59c50a7143e639e4bdbed707d206bf0d6dd66c5373b554a5b87ada966b |