mentortools/libs/: data-cast-server-connector-1.1.1+2265298326 metadata and description

Homepage Simple index

Mentortools Course cast server

author OpenAPI Generator Community
author_email team@openapitools.org
classifiers
  • License :: OSI Approved
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
description_content_type text/markdown
keywords OpenAPI,OpenAPI-Generator,Mentortools Course cast server
license Unlicense
project_urls
  • Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
requires_dist
  • urllib3 (>=1.25.3)
  • python-dateutil (>=2.8.2)
  • aiohttp (>=3.8.4)
  • pydantic (>=1.10.5,<2.0.0)
  • aenum (>=3.1.11)
requires_python >=3.8,<4.0
File Tox results History
data_cast_server_connector-1.1.1+2265298326-py3-none-any.whl
Size
38 KB
Type
Python Wheel
Python
3
data_cast_server_connector-1.1.1+2265298326.tar.gz
Size
25 KB
Type
Source

data-cast-server-connector

Mentortools Course cast server

This Python package is automatically generated by the OpenAPI Generator project:

Requirements.

Python 3.7+

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 data_cast_server_connector

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 data_cast_server_connector

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import data_cast_server_connector
from data_cast_server_connector.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 = data_cast_server_connector.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 API key authorization: APIKeyHeader
configuration.api_key['APIKeyHeader'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKeyHeader'] = 'Bearer'

# Configure Bearer authorization: HTTPBearer
configuration = data_cast_server_connector.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with data_cast_server_connector.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = data_cast_server_connector.DataCastApiApi(api_client)
    portal_id = 56 # int | 

    try:
        # Index Get
        api_response = await api_instance.data_cast_api_index_get(portal_id)
        print("The response of DataCastApiApi->data_cast_api_index_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DataCastApiApi->data_cast_api_index_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DataCastApiApi data_cast_api_index_get GET /portal_indexes/v1/{portal_id} Index Get
DataCastApiApi data_cast_api_index_self_start POST /portal_indexes/v1/self/start Index Self Start
DataCastApiApi data_cast_api_index_start POST /portal_indexes/v1/{portal_id}/start Index Start
DataCastApiApi data_cast_api_indexed_list GET /portal_indexes/v1/ Indexed List
DataCastApiApi data_cast_api_self_index_get GET /portal_indexes/v1/self Self Index Get
HealthApi health_health_check GET / Health Check
PortalIndexesApi data_cast_api_index_get GET /portal_indexes/v1/{portal_id} Index Get
PortalIndexesApi data_cast_api_index_self_start POST /portal_indexes/v1/self/start Index Self Start
PortalIndexesApi data_cast_api_index_start POST /portal_indexes/v1/{portal_id}/start Index Start
PortalIndexesApi data_cast_api_indexed_list GET /portal_indexes/v1/ Indexed List
PortalIndexesApi data_cast_api_self_index_get GET /portal_indexes/v1/self Self Index Get

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

APIKeyHeader

Author