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

Homepage 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+1607441668-py3-none-any.whl
Size
25 KB
Type
Python Wheel
Python
3
static_server_connector-1.1.0+1607441668.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 /api
# See configuration.py for a list of all supported configuration parameters.
configuration = static_server_connector.Configuration(
    host = "/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 API key authorization: ServerNameSecurity
configuration.api_key['ServerNameSecurity'] = os.environ["API_KEY"]

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


# 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)
    page_publish = static_server_connector.PagePublish() # PagePublish | 

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

Documentation for API Endpoints

All URIs are relative to /api

Class Method HTTP request Description
DefaultApi file_v1_publish_post POST /file/v1/publish
DefaultApi file_v1_unpublish_post POST /file/v1/unpublish

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ServerNameSecurity

Author