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.10
- Package version: 0.1.3
- 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 |
| FeedbackApi | feedback_api_labs010_feedback_post | POST /api/labs/0.1.0/feedback | Feedback |
| GenerateApi | generate_api_generate_post | POST /api/generate | Generate |
| GenerateApi | generate_api_labs010_generate_post | POST /api/labs/0.1.0/generate | Generate |
Documentation For Models
- Bone
- FeedbackRequestBody
- GenerateRequestBody
- GenerateResponseBody
- HTTPValidationError
- LocationInner
- Skeleton
- ValidationError
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text2motion_client_api-0.1.3.tar.gz.
File metadata
- Download URL: text2motion_client_api-0.1.3.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52fd725ec4029c5cc8547e9441e142a14300dd090af28075794170c67972fe1b
|
|
| MD5 |
70d50a076e9b16d562b01eab072f23f4
|
|
| BLAKE2b-256 |
babb5dc86960d924b64f4a7173107ef7123c5ec80f7b434c28c11c469a7139e3
|
Provenance
The following attestation bundles were made for text2motion_client_api-0.1.3.tar.gz:
Publisher:
releases.yaml on text2motion/python-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
text2motion_client_api-0.1.3.tar.gz -
Subject digest:
52fd725ec4029c5cc8547e9441e142a14300dd090af28075794170c67972fe1b - Sigstore transparency entry: 155763627
- Sigstore integration time:
-
Permalink:
text2motion/python-client@c277de0c1293939bd617ec4e2b60bd1b7ddb5280 -
Branch / Tag:
refs/tags/releases/0.1.3 - Owner: https://github.com/text2motion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
releases.yaml@c277de0c1293939bd617ec4e2b60bd1b7ddb5280 -
Trigger Event:
push
-
Statement type:
File details
Details for the file text2motion_client_api-0.1.3-py3-none-any.whl.
File metadata
- Download URL: text2motion_client_api-0.1.3-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2855b00b042861ddca75b24b89595cc361c7746508fda28e78ea857c2117a04a
|
|
| MD5 |
0cc289c9717e0525afa28913169f2e6e
|
|
| BLAKE2b-256 |
563b8fa8a2f25d6517df4a0107cebb5a57f3cd29ac5bb83964bd3bf47d8522a8
|
Provenance
The following attestation bundles were made for text2motion_client_api-0.1.3-py3-none-any.whl:
Publisher:
releases.yaml on text2motion/python-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
text2motion_client_api-0.1.3-py3-none-any.whl -
Subject digest:
2855b00b042861ddca75b24b89595cc361c7746508fda28e78ea857c2117a04a - Sigstore transparency entry: 155763629
- Sigstore integration time:
-
Permalink:
text2motion/python-client@c277de0c1293939bd617ec4e2b60bd1b7ddb5280 -
Branch / Tag:
refs/tags/releases/0.1.3 - Owner: https://github.com/text2motion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
releases.yaml@c277de0c1293939bd617ec4e2b60bd1b7ddb5280 -
Trigger Event:
push
-
Statement type: