OpenAPI-generated Python client
Project description
mantium-spec
Mantium API Documentation
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.464
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
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 mantium_spec
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 mantium_spec
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import mantium_spec
from mantium_spec.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = mantium_spec.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: HTTPBearer
configuration = mantium_spec.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with mantium_spec.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mantium_spec.ApplicationsApi(api_client)
application_id = 'application_id_example' # str |
body = None # object | (optional)
try:
# Get application detail.
api_response = api_instance.get_application_detail(application_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ApplicationsApi->get_application_detail: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
ApplicationsApi | get_application_detail | GET /applications/{application_id} | Get application detail. |
ApplicationsApi | list_applications | GET /applications/ | List applications. |
ApplicationsApi | query_application | POST /applications/{application_id}/query | Interact with an application. |
Documentation For Models
- Answer
- AnswerMeta
- ApplicationCredential
- ApplicationDetailResponse
- ApplicationQueryRequest
- ApplicationQueryResponse
- ApplicationResponse
- ApplicationStatus
- ChatGPTPluginApplicationDetailResponse
- ContentCreationTemplateOptions
- ContentType
- CredentialType
- CursorDatamodelPageApplicationResponse
- CustomTemplateOptions
- CustomerSupportTemplateOptions
- Document
- DocumentMetadata
- EventPlanningTemplateOptions
- HTTPValidationError
- LegalDocumentsTemplateOptions
- LocationInner
- MeetingInfoTemplateOptions
- PersonalKnowledgeManagementTemplateOptions
- ProductDocumentationTemplateOptions
- RecipeManagementTemplateOptions
- ResponseGetApplicationDetail
- ShopifyTemplateOptions
- Span
- Template
- ValidationError
Documentation For Authorization
HTTPBearer
- Type: Bearer authentication
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
mantium_spec-1.0.464.tar.gz
(33.7 kB
view hashes)
Built Distribution
Close
Hashes for mantium_spec-1.0.464-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795326d10f09704940f116f58c85195d2ec0e8c2dacf191705ca82f1aff8eba1 |
|
MD5 | 151d3f6630aa9dd03cba544fb94bbabb |
|
BLAKE2b-256 | 447a1d6d8d5f4a816bf9d5d38063e16427fe698ddaa7ef1e2a872e6393134c29 |