Skip to main content

FastAPI

Project description

vex-api-client

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: 1.0.0
  • Generator version: 7.7.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 vex_api_client

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 vex_api_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

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

# 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: JWTBearer
configuration = vex_api_client.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with vex_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vex_api_client.ListApi(api_client)
    org_name = 'org_name_example' # str | 

    try:
        # List Indexes
        api_response = api_instance.list_indexes_v1_indexes_org_name_get(org_name)
        print("The response of ListApi->list_indexes_v1_indexes_org_name_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ListApi->list_indexes_v1_indexes_org_name_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ListApi list_indexes_v1_indexes_org_name_get GET /v1/indexes/{org_name} List Indexes
SearchApi search_index_v1_search_org_name_index_name_post POST /v1/search/{org_name}/{index_name} Search Index

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

JWTBearer

  • Type: Bearer authentication

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

vex_api_client-1.0.0.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

vex_api_client-1.0.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file vex_api_client-1.0.0.tar.gz.

File metadata

  • Download URL: vex_api_client-1.0.0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for vex_api_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c17be0b0bb3a2be2721688d7e23f91599a95c0e9314ca3422a16a660c51cfaae
MD5 59fd63bfc4474785735e553cbcf51563
BLAKE2b-256 5781f996f88221e9e542874299c5572a2e8486cce3b97d3e0baec62bf01333c3

See more details on using hashes here.

File details

Details for the file vex_api_client-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vex_api_client-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for vex_api_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50d84564ac92418a6c765afd41afb9f33ee3b84b5fdc9ca90c71e7971cdff121
MD5 26631c0f95b7e951719dc8618e35ce8b
BLAKE2b-256 6b1d5b67516769b132dfa237003b41ebb09d340a013ef1c458bfe0971804dc48

See more details on using hashes here.

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