python-async-anchio

Anch.io


Keywords
OpenAPI, OpenAPI-Generator, Anch, io
License
Apache-2.0
Install
pip install python-async-anchio==0.1.6

Documentation

python-async-anchio

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.6
  • Package version: 0.1.6
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://anchio.app/

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 async_anchio

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 async_anchio

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import async_anchio
from async_anchio.rest import ApiException
from pprint import pprint

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

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


# Enter a context with an instance of the API client
async with async_anchio.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = async_anchio.DefaultApi(api_client)
    tool_access_update_schema = [async_anchio.ToolAccessUpdateSchema()] # List[ToolAccessUpdateSchema] | 

    try:
        # Bulk Update Accesses
        api_response = await api_instance.bulk_update_accesses_api_v1_corp_accesses_bulk_update_post(tool_access_update_schema)
        print("The response of DefaultApi->bulk_update_accesses_api_v1_corp_accesses_bulk_update_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->bulk_update_accesses_api_v1_corp_accesses_bulk_update_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://anchio.app

Class Method HTTP request Description
DefaultApi bulk_update_accesses_api_v1_corp_accesses_bulk_update_post POST /api/v1/corp/accesses/bulk-update Bulk Update Accesses
DefaultApi bulk_update_contracts_api_v1_corp_contracts_bulk_update_post POST /api/v1/corp/contracts/bulk-update Bulk Update Contracts
DefaultApi bulk_update_employees_api_v1_corp_employees_bulk_update_post POST /api/v1/corp/employees/bulk-update Bulk Update Employees
DefaultApi bulk_upsert_licenses_api_v1_auth_licenses_bulk_post POST /api/v1/auth/licenses/bulk Bulk Upsert Licenses
DefaultApi change_password_api_v1_auth_change_password_post POST /api/v1/auth/change-password Change Password
DefaultApi create_alert_api_v1_metering_alerts_post POST /api/v1/metering/alerts Create Alert
DefaultApi create_api_key_integration_api_v1_auth_integrations_api_key_post POST /api/v1/auth/integrations/api-key/ Create Api Key Integration
DefaultApi create_channel_api_v1_notifications_channels_post POST /api/v1/notifications/channels Create Channel
DefaultApi create_checkout_session_api_v1_auth_subscription_create_checkout_session_post POST /api/v1/auth/subscription/create-checkout-session Create Checkout Session
DefaultApi create_key_api_v1_auth_key_post POST /api/v1/auth/key Create Key
DefaultApi create_meter_entries_api_v1_metering_meter_entry_post POST /api/v1/metering/meter-entry Create Meter Entries
DefaultApi create_metered_service_api_v1_metering_services_post POST /api/v1/metering/services Create Metered Service
DefaultApi delete_alert_api_v1_metering_alerts_id_delete DELETE /api/v1/metering/alerts/{id} Delete Alert
DefaultApi delete_api_key_integration_api_v1_auth_integrations_api_key_key_id_delete DELETE /api/v1/auth/integrations/api-key/{key_id} Delete Api Key Integration
DefaultApi delete_channel_api_v1_notifications_channels_id_delete DELETE /api/v1/notifications/channels/{id} Delete Channel
DefaultApi delete_metered_service_api_v1_metering_services_id_delete DELETE /api/v1/metering/services/{id} Delete Metered Service
DefaultApi delete_oauth_token_api_v1_auth_integrations_oauth_id_delete DELETE /api/v1/auth/integrations/oauth/{id} Delete Oauth Token
DefaultApi destroy_key_api_v1_auth_key_id_delete DELETE /api/v1/auth/key/{id} Destroy Key
DefaultApi exchange_plaid_token_api_v1_auth_plaid_exchange_token_get GET /api/v1/auth/plaid/exchange-token Exchange Plaid Token
DefaultApi feedback_api_v1_auth_feedback_post POST /api/v1/auth/feedback Feedback
DefaultApi get_accesses_api_v1_corp_accesses_get GET /api/v1/corp/accesses Get Accesses
DefaultApi get_company_api_v1_auth_me_company_company_id_get GET /api/v1/auth/me/company/{company_id} Get Company
DefaultApi get_contracts_api_v1_corp_contracts_get GET /api/v1/corp/contracts Get Contracts
DefaultApi get_departments_api_v1_corp_departments_get GET /api/v1/corp/departments Get Departments
DefaultApi get_employee_api_v1_corp_employees_employee_id_get GET /api/v1/corp/employees/{employeeId} Get Employee
DefaultApi get_employee_tool_report_api_v1_tools_tools_reports_usage_employee_employee_id_get GET /api/v1/tools/tools/reports/usage/employee/{employee_id} Get Employee Tool Report
DefaultApi get_employees_api_v1_corp_employees_get GET /api/v1/corp/employees Get Employees
DefaultApi get_license_api_v1_auth_me_license_get GET /api/v1/auth/me/license/ Get License
DefaultApi get_my_employee_api_v1_corp_employees_me_get GET /api/v1/corp/employees/me Get My Employee
DefaultApi get_oauth_url_api_v1_auth_integrations_oauth_provider_get GET /api/v1/auth/integrations/oauth/{provider} Get Oauth Url
DefaultApi get_public_tools_api_v1_tools_public_company_slug_get GET /api/v1/tools/public/{company_slug} Get Public Tools
DefaultApi get_tool_api_v1_tools_tool_id_get GET /api/v1/tools/{tool_id} Get Tool
DefaultApi get_tool_categories_api_v1_tools_categories_get GET /api/v1/tools/categories Get Tool Categories
DefaultApi get_tool_usage_report_api_v1_tools_tools_reports_usage_tool_id_get GET /api/v1/tools/tools/reports/usage/{tool_id} Get Tool Usage Report
DefaultApi get_tools_api_v1_tools_get GET /api/v1/tools/ Get Tools
DefaultApi get_user_api_v1_auth_me_get GET /api/v1/auth/me Get User
DefaultApi health_check_api_v1_health_check_get GET /api/v1/health-check Health Check
DefaultApi list_alerts_api_v1_metering_alerts_get GET /api/v1/metering/alerts List Alerts
DefaultApi list_api_key_integrations_api_v1_auth_integrations_api_key_get GET /api/v1/auth/integrations/api-key/ List Api Key Integrations
DefaultApi list_bank_accounts_api_v1_corp_bank_accounts_get GET /api/v1/corp/bank-accounts List Bank Accounts
DefaultApi list_company_roles_api_v1_auth_company_roles_get GET /api/v1/auth/company/roles List Company Roles
DefaultApi list_keys_api_v1_auth_key_get GET /api/v1/auth/key List Keys
DefaultApi list_licenses_api_v1_auth_licenses_get GET /api/v1/auth/licenses List Licenses
DefaultApi list_metered_service_metrics_api_v1_metering_services_service_id_metrics_get GET /api/v1/metering/services/{service_id}/metrics List Metered Service Metrics
DefaultApi list_metered_services_api_v1_metering_services_get GET /api/v1/metering/services List Metered Services
DefaultApi list_notification_channels_api_v1_notifications_channels_get GET /api/v1/notifications/channels List Notification Channels
DefaultApi list_notifications_api_v1_notifications_get GET /api/v1/notifications/ List Notifications
DefaultApi list_oauth_integrations_api_v1_auth_integrations_oauth_get GET /api/v1/auth/integrations/oauth/ List Oauth Integrations
DefaultApi list_slack_channels_api_v1_integrations_slack_channels_get GET /api/v1/integrations/slack/channels List Slack Channels
DefaultApi list_transactions_api_v1_corp_transactions_get GET /api/v1/corp/transactions List Transactions
DefaultApi plaid_create_token_api_v1_auth_plaid_create_token_get GET /api/v1/auth/plaid/create-token Plaid Create Token
DefaultApi post_access_request_api_v1_corp_accesses_post POST /api/v1/corp/accesses Post Access Request
DefaultApi post_employee_access_request_api_v1_corp_accesses_employee_post POST /api/v1/corp/accesses/employee Post Employee Access Request
DefaultApi post_oauth_credentials_api_v1_auth_integrations_oauth_provider_post POST /api/v1/auth/integrations/oauth/{provider} Post Oauth Credentials
DefaultApi refresh_token_api_v1_auth_refresh_token_post POST /api/v1/auth/refresh-token/ Refresh Token
DefaultApi resend_verification_email_api_v1_auth_resend_verification_email_get GET /api/v1/auth/resend-verification-email Resend Verification Email
DefaultApi reset_password_api_v1_auth_reset_password_post POST /api/v1/auth/reset-password Reset Password
DefaultApi retrieve_alert_api_v1_metering_alerts_id_get GET /api/v1/metering/alerts/{id} Retrieve Alert
DefaultApi retrieve_link_token_api_v1_auth_plaid_get_link_token_get GET /api/v1/auth/plaid/get-link-token Retrieve Link Token
DefaultApi retrieve_metered_service_api_v1_metering_services_id_get GET /api/v1/metering/services/{id} Retrieve Metered Service
DefaultApi sign_in_api_v1_auth_sign_in_post POST /api/v1/auth/sign-in/ Sign In
DefaultApi sign_out_api_v1_auth_signout_get GET /api/v1/auth/signout/ Sign Out
DefaultApi signin_credentials_api_v1_auth_signin_credentials_post POST /api/v1/auth/signin-credentials/ Signin Credentials
DefaultApi signout_all_api_v1_auth_signout_all_get GET /api/v1/auth/signout-all Signout All
DefaultApi update_alert_api_v1_metering_alerts_id_put PUT /api/v1/metering/alerts/{id} Update Alert
DefaultApi update_api_key_integration_api_v1_auth_integrations_api_key_key_id_put PUT /api/v1/auth/integrations/api-key/{key_id} Update Api Key Integration
DefaultApi update_channel_api_v1_notifications_channels_id_put PUT /api/v1/notifications/channels/{id} Update Channel
DefaultApi update_company_api_v1_auth_company_update_put PUT /api/v1/auth/company/update Update Company
DefaultApi update_employee_api_v1_corp_employees_employee_id_put PUT /api/v1/corp/employees/{employeeId} Update Employee
DefaultApi update_metered_service_api_v1_metering_services_id_put PUT /api/v1/metering/services/{id} Update Metered Service
DefaultApi update_notification_api_v1_notifications_id_put PUT /api/v1/notifications/{id} Update Notification
DefaultApi update_user_api_v1_auth_me_update_put PUT /api/v1/auth/me/update/ Update User
DefaultApi update_user_license_schema_api_v1_auth_license_update_put PUT /api/v1/auth/license/update Update User License Schema
DefaultApi upload_company_logo_api_v1_auth_company_logo_post POST /api/v1/auth/company/logo Upload Company Logo
DefaultApi upload_contract_api_v1_corp_contracts_upload_post POST /api/v1/corp/contracts/upload Upload Contract
DefaultApi upload_tool_access_api_v1_corp_accesses_upload_post POST /api/v1/corp/accesses/upload Upload Tool Access
DefaultApi upsert_contract_api_v1_corp_contracts_contract_id_post POST /api/v1/corp/contracts/{contract_id} Upsert Contract
DefaultApi upsert_contract_tool_api_v1_corp_contracts_tools_rel_id_post POST /api/v1/corp/contracts/tools/{rel_id} Upsert Contract Tool
DefaultApi upsert_department_api_v1_corp_departments_dept_id_post POST /api/v1/corp/departments/{dept_id} Upsert Department
DefaultApi upsert_tool_api_v1_tools_tools_tool_id_post POST /api/v1/tools/tools/{tool_id} Upsert Tool

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerToken

  • Type: Bearer authentication

Author

opensource@anchio.app