mentortools/libs/: static-server-connector-1.1.0+1653834260 metadata and description
Mentortools Static Landing Page Server
| author | OpenAPI Generator Community |
| author_email | team@openapitools.org |
| classifiers |
|
| description_content_type | text/markdown |
| keywords | OpenAPI, OpenAPI-Generator, Mentortools Static Landing Page Server |
| license | NoLicense |
| project_urls |
|
| requires_dist |
|
| requires_python | >=3.7,<4.0 |
| File | Tox results | History |
|---|---|---|
static_server_connector-1.1.0+1653834260-py3-none-any.whl
|
|
|
static_server_connector-1.1.0+1653834260.tar.gz
|
|
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:
- API version: 1.1.0
- Package version: 1.1.0+1653834260
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
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
- Type: API key
- API key parameter name: server_name
- Location: HTTP header
TokenSecurity
- Type: Bearer authentication