Skip to main content

A Python client to easily integrate all Terapi Global services into your application.

Project description

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import client
from client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
x_tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | 
integration_name = 'integration_name_example' # str | 
endpoint = 'endpoint_example' # str | 
body = client.ApiproxyEndpointBody6() # ApiproxyEndpointBody6 |  (optional)

try:
    # 21_997
    api_response = api_instance.api_proxy_endpoint_delete(x_tenant_id, integration_name, endpoint, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_endpoint_delete: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
integration_name = 'integration_name_example' # str | 
endpoint = 'endpoint_example' # str | 
x_tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | 

try:
    # 21_997
    api_response = api_instance.api_proxy_endpoint_get(integration_name, endpoint, x_tenant_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_endpoint_get: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
x_tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | 
integration_name = 'integration_name_example' # str | 
endpoint = 'endpoint_example' # str | 
body = client.ApiproxyEndpointBody9() # ApiproxyEndpointBody9 |  (optional)

try:
    # 21_997
    api_response = api_instance.api_proxy_endpoint_patch(x_tenant_id, integration_name, endpoint, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_endpoint_patch: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
x_tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | 
integration_name = 'integration_name_example' # str | 
endpoint = 'endpoint_example' # str | 
body = client.ApiproxyEndpointBody3() # ApiproxyEndpointBody3 |  (optional)

try:
    # 21_997
    api_response = api_instance.api_proxy_endpoint_post(x_tenant_id, integration_name, endpoint, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_endpoint_post: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
x_tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | 
integration_name = 'integration_name_example' # str | 
endpoint = 'endpoint_example' # str | 
body = client.ApiproxyEndpointBody() # ApiproxyEndpointBody |  (optional)

try:
    # 21_997
    api_response = api_instance.api_proxy_endpoint_put(x_tenant_id, integration_name, endpoint, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_endpoint_put: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
tenant_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |  (optional)

try:
    api_response = api_instance.api_proxy_oauth2_challenge_get(tenant_id=tenant_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_oauth2_challenge_get: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))
external_id = 'external_id_example' # str | 

try:
    api_response = api_instance.api_proxy_unified_contacts_external_id_get(external_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_unified_contacts_external_id_get: %s\n" % e)


# create an instance of the API class
api_instance = client.ApiProxyApi(client.ApiClient(configuration))

try:
    api_response = api_instance.api_proxy_unified_contacts_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApiProxyApi->api_proxy_unified_contacts_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /

Class Method HTTP request Description
ApiProxyApi api_proxy_endpoint_delete DELETE /api-proxy/{endpoint} 21_997
ApiProxyApi api_proxy_endpoint_get GET /api-proxy/{endpoint} 21_997
ApiProxyApi api_proxy_endpoint_patch PATCH /api-proxy/{endpoint} 21_997
ApiProxyApi api_proxy_endpoint_post POST /api-proxy/{endpoint} 21_997
ApiProxyApi api_proxy_endpoint_put PUT /api-proxy/{endpoint} 21_997
ApiProxyApi api_proxy_oauth2_challenge_get GET /api-proxy/oauth2/challenge
ApiProxyApi api_proxy_unified_contacts_external_id_get GET /api-proxy/unified/contacts/{externalId}
ApiProxyApi api_proxy_unified_contacts_get GET /api-proxy/unified/contacts
ApplicationApi application_create_post POST /application/create 15_999
ApplicationApi application_delete_delete DELETE /application/delete 15_997
ApplicationApi application_list_get GET /application/list 15_996
ApplicationApi application_update_put PUT /application/update 15_998
ApplicationApiKeyApi application_apikey_generate_post POST /application-apikey/generate 16_999
ApplicationApiKeyApi application_apikey_get_by_application_id_get GET /application-apikey/get-by-application-id 16_995
ApplicationApiKeyApi application_apikey_revoke_delete DELETE /application-apikey/revoke 16_998
ApplicationIntegrationApi application_integration_add_integration_to_application_post POST /application-integration/add-integration-to-application 18_999
ApplicationIntegrationApi application_integration_application_integration_list_by_application_id_get GET /application-integration/application-integration-list-by-application-id 18_997
AuthApi auth_authenticate_post POST /auth/authenticate 23_999
AuthApi auth_refresh_post POST /auth/refresh 23_998
CategoryApi category_list_get GET /category/list 19_999
IntegrationApi integration_get_get GET /integration/get 17_997
IntegrationApi integration_list_get GET /integration/list 17_999
StatisticsApi statistics_user_profile_get GET /statistics/user-profile 14_997
TenantApi tenant_decline_tenant_id_get GET /tenant/decline-tenant/{id} 20_996
TenantApi tenant_invite_tenant_by_application_integration_id_post POST /tenant/invite-tenant-by-application-integration-id 20_998
TenantApi tenant_invite_tenant_post POST /tenant/invite-tenant 20_998
TenantApi tenant_update_tenant_connection_post POST /tenant/update-tenant-connection 20_997
TenantApi tenant_user_tenant_list_get GET /tenant/user-tenant-list 20_999
UserApi user_create_or_get_user_profile_post POST /user/create-or-get-user-profile 14_998

Documentation For Models

Documentation For Authorization

Bearer

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

terapi_global_client-1.0.0.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

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

terapi_global_client-1.0.0-py3-none-any.whl (320.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terapi_global_client-1.0.0.tar.gz
  • Upload date:
  • Size: 72.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for terapi_global_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 88cac4cd0696434f4a709598a7440430d79462c6322470516c3d57f0be344eca
MD5 e1fa8e390bf9fa36404f90709e82aa30
BLAKE2b-256 faee57e7d08732ced108290984ada0945bc432863de383f24cd9dbf7109a58a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terapi_global_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e96a6e7f3258ad840f6d23eb6b4e753065440ffb5da6d37eb07737606413e3da
MD5 fde19d97b454903e7273d22f00c0fc01
BLAKE2b-256 52dc29cd3bb10f27264a5297d42d17ea0a1c35d045237e64e85a10f86e683723

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