Skip to main content

Python Client SDK Generated by Speakeasy

Project description

codat-common

SDK Installation

pip install codat-common

SDK Example Usage

import codatcommon
from codatcommon.models import operations, shared

s = codatcommon.CodatCommon(
    security=shared.Security(
        auth_header="YOUR_API_KEY_HERE",
    ),
)


req = shared.CompanyRequestBody(
    description="corrupti",
    name="Kelvin Sporer",
)
    
res = s.companies.create_company(req)

if res.company is not None:
    # handle response

Available Resources and Operations

companies

  • create_company - Create company
  • delete_company - Delete a company
  • get_company - Get company
  • list_companies - List companies
  • update_company - Update company

connections

  • create_data_connection - Create a data connection
  • delete_company_connection - Delete connection
  • get_company_connection - Get connection
  • list_company_connections - List connections
  • unlink_company_connection - Unlink connection
  • update_connection_authorization - Update authorization

data_status

  • get_company_data_history - Get pull operations
  • get_company_data_status - Get data status
  • get_pull_operation - Get pull operation

integrations

  • get_integration - Get integration
  • get_integrations_branding - Get branding
  • list_integrations - List integrations

push_data

  • get_company_push_history - List push operations
  • get_create_update_model_options_by_data_type - List push options
  • get_push_operation - Get push operation

refresh_data

  • create_pull_operation - Queue pull operation
  • refresh_company_data - Queue pull operations

settings

  • get_profile - Get profile
  • get_profile_sync_settings - Get sync settings
  • update_profile - Update profile
  • update_sync_settings - Update all sync settings

webhooks

  • create_rule - Create webhook
  • get_webhook - Get webhook
  • list_rules - List webhooks

SDK Generated by Speakeasy

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

codat-common-0.8.1.tar.gz (32.0 kB view hashes)

Uploaded Source

Built Distribution

codat_common-0.8.1-py3-none-any.whl (88.7 kB view hashes)

Uploaded Python 3

Supported by

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