mentortools/libs/: lp-server-connector-1.0.0 metadata and description

Homepage Simple index

Mentortools Landing Page API

author OpenAPI Generator Community
author_email team@openapitools.org
classifiers
  • License :: Other/Proprietary License
  • 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
description_content_type text/markdown
keywords OpenAPI, OpenAPI-Generator, Mentortools Landing Page API
license NoLicense
project_urls
  • Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
requires_dist
  • aiohttp (>=3.8.4)
  • aiohttp-retry (>=2.8.3)
  • pydantic (>=2)
  • python-dateutil (>=2.8.2)
  • typing-extensions (>=4.7.1)
  • urllib3 (>=1.25.3,<3.0.0)
requires_python >=3.8,<4.0
File Tox results History
lp_server_connector-1.0.0-py3-none-any.whl
Size
61 KB
Type
Python Wheel
Python
3
lp_server_connector-1.0.0.tar.gz
Size
31 KB
Type
Source

lp-server-connector

Mentortools service for building and publishing landing pages

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

Requirements.

Python 3.8+

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 lp_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 lp_server_connector

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import lp_server_connector
from lp_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 = lp_server_connector.Configuration(
    host = "http://localhost"
)



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

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi health_check_get GET / Health Check
DefaultApi landings_add_v1_landings_post POST /v1/landings/ Landings Add
DefaultApi landings_delete_v1_landings_landing_id_delete DELETE /v1/landings/{landing_id} Landings Delete
DefaultApi landings_duplicate_v1_landings_landing_id_duplicate_post POST /v1/landings/{landing_id}/duplicate Landings Duplicate
DefaultApi landings_get_v1_landings_landing_id_get GET /v1/landings/{landing_id} Landings Get
DefaultApi landings_group_update_v1_landings_patch PATCH /v1/landings/ Landings Group Update
DefaultApi landings_history_count_v1_landings_landing_id_history_count_post POST /v1/landings/{landing_id}/history/count Landings History Count
DefaultApi landings_history_one_v1_landings_landing_id_history_history_id_post POST /v1/landings/{landing_id}/history/{history_id} Landings History One
DefaultApi landings_history_v1_landings_landing_id_history_post POST /v1/landings/{landing_id}/history Landings History
DefaultApi landings_list_v1_landings_get GET /v1/landings/ Landings List
DefaultApi landings_publish_v1_landings_landing_id_publish_post POST /v1/landings/{landing_id}/publish Landings Publish
DefaultApi landings_recover_v1_landings_landing_id_recover_post POST /v1/landings/{landing_id}/recover Landings Recover
DefaultApi landings_unpublish_v1_landings_landing_id_unpublish_post POST /v1/landings/{landing_id}/unpublish Landings Unpublish
DefaultApi landings_update_v1_landings_landing_id_post POST /v1/landings/{landing_id} Landings Update
DefaultApi templates_add_v1_templates_post POST /v1/templates/ Templates Add
DefaultApi templates_count_v1_landings_count_get GET /v1/landings/count Templates Count
DefaultApi templates_count_v1_templates_count_get GET /v1/templates/count Templates Count
DefaultApi templates_delete_v1_templates_template_id_delete DELETE /v1/templates/{template_id} Templates Delete
DefaultApi templates_duplicate_v1_templates_template_id_duplicate_post POST /v1/templates/{template_id}/duplicate Templates Duplicate
DefaultApi templates_get_v1_templates_template_id_get GET /v1/templates/{template_id} Templates Get
DefaultApi templates_group_update_v1_templates_patch PATCH /v1/templates/ Templates Group Update
DefaultApi templates_import_v1_templates_template_id_import_post POST /v1/templates/{template_id}/import Templates Import
DefaultApi templates_list_v1_templates_get GET /v1/templates/ Templates List
DefaultApi templates_publish_v1_templates_template_id_publish_post POST /v1/templates/{template_id}/publish Templates Publish
DefaultApi templates_recover_v1_templates_template_id_recover_post POST /v1/templates/{template_id}/recover Templates Recover
DefaultApi templates_unpublish_v1_templates_template_id_unpublish_post POST /v1/templates/{template_id}/unpublish Templates Unpublish
DefaultApi templates_update_v1_templates_template_id_post POST /v1/templates/{template_id} Templates Update

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author