Skip to main content

OpenAPI generated Python client for Text2Motion API

Project description

NOTE:
Some links in this generated README.md are broken as they are relative path. To use the README.md with working links, download the Source Distribution under Download files and open README.md in a Markdown previewer.

text2motion-client-api

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: 0.1.0
  • Package version: 0.1.2
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

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 text2motion_client_api

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 text2motion_client_api

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import text2motion_client_api
from text2motion_client_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.text2motion.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = text2motion_client_api.Configuration(
    host = "https://api.text2motion.ai"
)

# 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'


# Enter a context with an instance of the API client
with text2motion_client_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = text2motion_client_api.FeedbackApi(api_client)
    feedback_request_body = text2motion_client_api.FeedbackRequestBody() # FeedbackRequestBody | 

    try:
        # Feedback
        api_response = api_instance.feedback_api_feedback_post(feedback_request_body)
        print("The response of FeedbackApi->feedback_api_feedback_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeedbackApi->feedback_api_feedback_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.text2motion.ai

Class Method HTTP request Description
FeedbackApi feedback_api_feedback_post POST /api/feedback Feedback
GenerateApi generate_api_generate_post POST /api/generate Generate

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

APIKeyHeader

  • Type: API key
  • API key parameter name: x-apikey
  • Location: HTTP header

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text2motion_client_api-0.1.2.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

text2motion_client_api-0.1.2-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file text2motion_client_api-0.1.2.tar.gz.

File metadata

  • Download URL: text2motion_client_api-0.1.2.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for text2motion_client_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 148119b473468d2f241bca9029e0f9b768b78d9020723d5ae1893937fb9c5a3d
MD5 4d670ad91517ada870b142f422965771
BLAKE2b-256 9582ec6c1c24d736e747aea442da16dd78aa15e4933553af2676125a050e06b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for text2motion_client_api-0.1.2.tar.gz:

Publisher: releases.yaml on text2motion/python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file text2motion_client_api-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for text2motion_client_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4fae8518953cd478287fba2adb09615b1a753c5820f013c5fc45ff1cde496083
MD5 9c8c523486a14e0784db804c1804724d
BLAKE2b-256 22232eae8f9a61e5e8eca03d0d7cdb204d29f0e562b4c3d43197ac188b4b2ab1

See more details on using hashes here.

Provenance

The following attestation bundles were made for text2motion_client_api-0.1.2-py3-none-any.whl:

Publisher: releases.yaml on text2motion/python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page