Nomad Envoy Utils
Project description
nomad-envoy-utils-cli
This is the API descriptor for the EC Platform and customs utils. Developed by Samarkand Global in partnership with Youzan Read the documentation online at Nomad API Suite. - Install for python with pip install nomad_envoy_utils_cli
- Install for node with npm install nomad_envoy_utils_cli
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.2
- Package version: 1.0.2
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import nomad_envoy_utils_cli
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import nomad_envoy_utils_cli
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import nomad_envoy_utils_cli
from nomad_envoy_utils_cli.rest import ApiException
from pprint import pprint
# Defining host is optional and default to https://nomad-envoy-utils.samarkand-global.cn
configuration.host = "https://nomad-envoy-utils.samarkand-global.cn"
# Enter a context with an instance of the API client
with nomad_envoy_utils_cli.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = nomad_envoy_utils_cli.HealthApi(api_client)
try:
# health
api_response = api_instance.get_health()
pprint(api_response)
except ApiException as e:
print("Exception when calling HealthApi->get_health: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://nomad-envoy-utils.samarkand-global.cn
Class | Method | HTTP request | Description |
---|---|---|---|
HealthApi | get_health | GET /health | health |
HealthApi | get_metrics | GET /metrics | metrics |
PlatformApi | batch_operatecypher | POST /platform/cypher | cypher |
Documentation For Models
Documentation For Authorization
ca_key
- Type: API key
- API key parameter name: x-ca-key
- Location: URL query string
ca_stage
- Type: API key
- API key parameter name: x-ca-stage
- Location: HTTP header
Author
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
Hashes for nomad-envoy-utils-cli-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92626e9a20191bb1c1ca3d92f6f3585ab8d65f36c64ce65d3cdec1f2932e19b |
|
MD5 | 869f849d162f146bd8afd7c7af0aae28 |
|
BLAKE2b-256 | 515da3445d3c507d28775c9a79eea2664823df12653fb539aa48f20fd2190412 |