Skip to main content

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.1108
  • 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 details
        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 details
ApplicationsApi list_applications GET /applications/ List applications.
ApplicationsApi query_application POST /applications/{application_id}/query Interact with an application.
ApplicationsApi query_chat_application POST /applications/{application_id}/chat Interact with a chat application.

Documentation For Models

Documentation For Authorization

HTTPBearer

  • Type: Bearer authentication

Author

Project details


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.1108.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

mantium_spec-1.0.1108-py3-none-any.whl (106.7 kB view details)

Uploaded Python 3

File details

Details for the file mantium_spec-1.0.1108.tar.gz.

File metadata

  • Download URL: mantium_spec-1.0.1108.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for mantium_spec-1.0.1108.tar.gz
Algorithm Hash digest
SHA256 b5a9c549163507c2c850fdb7e0a40c43e511aa503ce4b101c48db9a81268bd69
MD5 1e395281b682a80208e219ea9dc0c5d8
BLAKE2b-256 00278431280b0cd44b9d91f3346b59b225540f603ed9ef11371434ddad6479e8

See more details on using hashes here.

File details

Details for the file mantium_spec-1.0.1108-py3-none-any.whl.

File metadata

File hashes

Hashes for mantium_spec-1.0.1108-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc07ffc1b489ed6b99148ea5d2683e01c52f3b80cfd0c668953305db6020e61
MD5 ae4a509e14846b6ffec5e38811c7401c
BLAKE2b-256 0456b95903dfa364c28a4c0fab80eb71a9c04d206766ce456d985eda1c260ed0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page