mentortools/libs/: static-server-connector-1.1.0+1653877197 metadata and description

Simple index Newer version available

Mentortools Static Landing Page Server

author OpenAPI Generator Community
author_email team@openapitools.org
classifiers
  • License :: Other/Proprietary License
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.7
  • 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
description_content_type text/markdown
keywords OpenAPI, OpenAPI-Generator, Mentortools Static Landing Page Server
license NoLicense
project_urls
  • Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
requires_dist
  • aenum (>=3.1.11)
  • aiohttp (>=3.8.4)
  • pydantic (>=1.10.5,<2.0.0)
  • python-dateutil (>=2.8.2)
  • urllib3 (>=1.25.3)
requires_python >=3.7,<4.0
File Tox results History
static_server_connector-1.1.0+1653877197-py3-none-any.whl
Size
27 KB
Type
Python Wheel
Python
3
static_server_connector-1.1.0+1653877197.tar.gz
Size
19 KB
Type
Source

static-server-connector

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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 static_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 static_server_connector

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import static_server_connector
from static_server_connector.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to /static_api
# See configuration.py for a list of all supported configuration parameters.
configuration = static_server_connector.Configuration(
    host = "/static_api"
)

# 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: TokenSecurity
configuration = static_server_connector.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with static_server_connector.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = static_server_connector.DefaultApi(api_client)

    try:
        api_response = await api_instance.design_get()
        print("The response of DefaultApi->design_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->design_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /static_api

Class Method HTTP request Description
DefaultApi design_get GET /design
DefaultApi design_post POST /design
DefaultApi file_v1_publish_post POST /file/v1/publish
DefaultApi file_v1_unpublish_post POST /file/v1/unpublish
DefaultApi root_get GET /

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ServerNameSecurity

TokenSecurity

Author