Python Client SDK for Unified.to
Project description
Summary
Unified.to API: One API to Rule Them All
Table of Contents
- SDK Installation
- SDK Example Usage
- Available Resources and Operations
- Error Handling
- Server Selection
- Custom HTTP Client
- Authentication
SDK Installation
The SDK can be installed using the pip package manager, with dependencies and metadata stored in the setup.py
file.
pip install Unified-python-sdk
SDK Example Usage
Example
import unified_to
from unified_to.models import operations
s = unified_to.UnifiedTo()
res = s.accounting.create_accounting_account(request=operations.CreateAccountingAccountRequest(
connection_id='<value>',
))
if res.accounting_account is not None:
# handle response
pass
Available Resources and Operations
Available methods
account
- create_accounting_account - Create an account
- get_accounting_account - Retrieve an account
- list_accounting_accounts - List all accounts
- patch_accounting_account - Update an account
- remove_accounting_account - Remove an account
- update_accounting_account - Update an account
accounting
- create_accounting_account - Create an account
- create_accounting_contact - Create a contact
- create_accounting_invoice - Create an invoice
- create_accounting_journal - Create a journal
- create_accounting_order - Create an order
- create_accounting_taxrate - Create a taxrate
- create_accounting_transaction - Create a transaction
- get_accounting_account - Retrieve an account
- get_accounting_contact - Retrieve a contact
- get_accounting_invoice - Retrieve an invoice
- get_accounting_journal - Retrieve a journal
- get_accounting_order - Retrieve an order
- get_accounting_organization - Retrieve an organization
- get_accounting_taxrate - Retrieve a taxrate
- get_accounting_transaction - Retrieve a transaction
- list_accounting_accounts - List all accounts
- list_accounting_contacts - List all contacts
- list_accounting_invoices - List all invoices
- list_accounting_journals - List all journals
- list_accounting_orders - List all orders
- list_accounting_organizations - List all organizations
- list_accounting_taxrates - List all taxrates
- list_accounting_transactions - List all transactions
- patch_accounting_account - Update an account
- patch_accounting_contact - Update a contact
- patch_accounting_invoice - Update an invoice
- patch_accounting_journal - Update a journal
- patch_accounting_order - Update an order
- patch_accounting_taxrate - Update a taxrate
- patch_accounting_transaction - Update a transaction
- remove_accounting_account - Remove an account
- remove_accounting_contact - Remove a contact
- remove_accounting_invoice - Remove an invoice
- remove_accounting_journal - Remove a journal
- remove_accounting_order - Remove an order
- remove_accounting_taxrate - Remove a taxrate
- remove_accounting_transaction - Remove a transaction
- update_accounting_account - Update an account
- update_accounting_contact - Update a contact
- update_accounting_invoice - Update an invoice
- update_accounting_journal - Update a journal
- update_accounting_order - Update an order
- update_accounting_taxrate - Update a taxrate
- update_accounting_transaction - Update a transaction
activity
- create_ats_activity - Create an activity
- get_ats_activity - Retrieve an activity
- list_ats_activities - List all activities
- patch_ats_activity - Update an activity
- remove_ats_activity - Remove an activity
- update_ats_activity - Update an activity
apicall
- get_unified_apicall - Retrieve specific API Call by its ID
- list_unified_apicalls - Returns API Calls
application
- create_ats_application - Create an application
- get_ats_application - Retrieve an application
- list_ats_applications - List all applications
- patch_ats_application - Update an application
- remove_ats_application - Remove an application
- update_ats_application - Update an application
applicationstatus
- list_ats_applicationstatuses - List all applicationstatuses
ats
- create_ats_activity - Create an activity
- create_ats_application - Create an application
- create_ats_candidate - Create a candidate
- create_ats_document - Create a document
- create_ats_interview - Create an interview
- create_ats_job - Create a job
- create_ats_scorecard - Create a scorecard
- get_ats_activity - Retrieve an activity
- get_ats_application - Retrieve an application
- get_ats_candidate - Retrieve a candidate
- get_ats_company - Retrieve a company
- get_ats_document - Retrieve a document
- get_ats_interview - Retrieve an interview
- get_ats_job - Retrieve a job
- get_ats_scorecard - Retrieve a scorecard
- list_ats_activities - List all activities
- list_ats_applications - List all applications
- list_ats_applicationstatuses - List all applicationstatuses
- list_ats_candidates - List all candidates
- list_ats_companies - List all companies
- list_ats_documents - List all documents
- list_ats_interviews - List all interviews
- list_ats_jobs - List all jobs
- list_ats_scorecards - List all scorecards
- patch_ats_activity - Update an activity
- patch_ats_application - Update an application
- patch_ats_candidate - Update a candidate
- patch_ats_document - Update a document
- patch_ats_interview - Update an interview
- patch_ats_job - Update a job
- patch_ats_scorecard - Update a scorecard
- remove_ats_activity - Remove an activity
- remove_ats_application - Remove an application
- remove_ats_candidate - Remove a candidate
- remove_ats_document - Remove a document
- remove_ats_interview - Remove an interview
- remove_ats_job - Remove a job
- remove_ats_scorecard - Remove a scorecard
- update_ats_activity - Update an activity
- update_ats_application - Update an application
- update_ats_candidate - Update a candidate
- update_ats_document - Update a document
- update_ats_interview - Update an interview
- update_ats_job - Update a job
- update_ats_scorecard - Update a scorecard
auth
- get_unified_integration_auth - Create connection indirectly
- get_unified_integration_login - Sign in a user
branch
- create_repo_branch - Create a branch
- get_repo_branch - Retrieve a branch
- list_repo_branches - List all branches
- patch_repo_branch - Update a branch
- remove_repo_branch - Remove a branch
- update_repo_branch - Update a branch
call
- list_uc_calls - List all calls
candidate
- create_ats_candidate - Create a candidate
- get_ats_candidate - Retrieve a candidate
- list_ats_candidates - List all candidates
- patch_ats_candidate - Update a candidate
- remove_ats_candidate - Remove a candidate
- update_ats_candidate - Update a candidate
channel
- get_messaging_channel - Retrieve a channel
- list_messaging_channels - List all channels
class_
- create_lms_class - Create a class
- get_lms_class - Retrieve a class
- list_lms_classes - List all classes
- patch_lms_class - Update a class
- remove_lms_class - Remove a class
- update_lms_class - Update a class
collection
- create_commerce_collection - Create a collection
- get_commerce_collection - Retrieve a collection
- list_commerce_collections - List all collections
- patch_commerce_collection - Update a collection
- remove_commerce_collection - Remove a collection
- update_commerce_collection - Update a collection
commerce
- create_commerce_collection - Create a collection
- create_commerce_inventory - Create an inventory
- create_commerce_item - Create an item
- create_commerce_location - Create a location
- get_commerce_collection - Retrieve a collection
- get_commerce_inventory - Retrieve an inventory
- get_commerce_item - Retrieve an item
- get_commerce_location - Retrieve a location
- list_commerce_collections - List all collections
- list_commerce_inventories - List all inventories
- list_commerce_items - List all items
- list_commerce_locations - List all locations
- patch_commerce_collection - Update a collection
- patch_commerce_inventory - Update an inventory
- patch_commerce_item - Update an item
- patch_commerce_location - Update a location
- remove_commerce_collection - Remove a collection
- remove_commerce_inventory - Remove an inventory
- remove_commerce_item - Remove an item
- remove_commerce_location - Remove a location
- update_commerce_collection - Update a collection
- update_commerce_inventory - Update an inventory
- update_commerce_item - Update an item
- update_commerce_location - Update a location
commit
- create_repo_commit - Create a commit
- get_repo_commit - Retrieve a commit
- list_repo_commits - List all commits
- patch_repo_commit - Update a commit
- remove_repo_commit - Remove a commit
- update_repo_commit - Update a commit
company
- create_crm_company - Create a company
- create_hris_company - Create a company
- get_ats_company - Retrieve a company
- get_crm_company - Retrieve a company
- get_hris_company - Retrieve a company
- list_ats_companies - List all companies
- list_crm_companies - List all companies
- list_enrich_companies - Retrieve enrichment information for a company
- list_hris_companies - List all companies
- patch_crm_company - Update a company
- patch_hris_company - Update a company
- remove_crm_company - Remove a company
- remove_hris_company - Remove a company
- update_crm_company - Update a company
- update_hris_company - Update a company
connection
- create_unified_connection - Create connection
- get_unified_connection - Retrieve connection
- list_unified_connections - List all connections
- patch_unified_connection - Update connection
- remove_unified_connection - Remove connection
- update_unified_connection - Update connection
contact
- create_accounting_contact - Create a contact
- create_crm_contact - Create a contact
- create_uc_contact - Create a contact
- get_accounting_contact - Retrieve a contact
- get_crm_contact - Retrieve a contact
- get_uc_contact - Retrieve a contact
- list_accounting_contacts - List all contacts
- list_crm_contacts - List all contacts
- list_uc_contacts - List all contacts
- patch_accounting_contact - Update a contact
- patch_crm_contact - Update a contact
- patch_uc_contact - Update a contact
- remove_accounting_contact - Remove a contact
- remove_crm_contact - Remove a contact
- remove_uc_contact - Remove a contact
- update_accounting_contact - Update a contact
- update_crm_contact - Update a contact
- update_uc_contact - Update a contact
course
- create_lms_course - Create a course
- get_lms_course - Retrieve a course
- list_lms_courses - List all courses
- patch_lms_course - Update a course
- remove_lms_course - Remove a course
- update_lms_course - Update a course
crm
- create_crm_company - Create a company
- create_crm_contact - Create a contact
- create_crm_deal - Create a deal
- create_crm_event - Create an event
- create_crm_lead - Create a lead
- create_crm_pipeline - Create a pipeline
- get_crm_company - Retrieve a company
- get_crm_contact - Retrieve a contact
- get_crm_deal - Retrieve a deal
- get_crm_event - Retrieve an event
- get_crm_lead - Retrieve a lead
- get_crm_pipeline - Retrieve a pipeline
- list_crm_companies - List all companies
- list_crm_contacts - List all contacts
- list_crm_deals - List all deals
- list_crm_events - List all events
- list_crm_leads - List all leads
- list_crm_pipelines - List all pipelines
- patch_crm_company - Update a company
- patch_crm_contact - Update a contact
- patch_crm_deal - Update a deal
- patch_crm_event - Update an event
- patch_crm_lead - Update a lead
- patch_crm_pipeline - Update a pipeline
- remove_crm_company - Remove a company
- remove_crm_contact - Remove a contact
- remove_crm_deal - Remove a deal
- remove_crm_event - Remove an event
- remove_crm_lead - Remove a lead
- remove_crm_pipeline - Remove a pipeline
- update_crm_company - Update a company
- update_crm_contact - Update a contact
- update_crm_deal - Update a deal
- update_crm_event - Update an event
- update_crm_lead - Update a lead
- update_crm_pipeline - Update a pipeline
customer
- create_ticketing_customer - Create a customer
- get_ticketing_customer - Retrieve a customer
- list_ticketing_customers - List all customers
- patch_ticketing_customer - Update a customer
- remove_ticketing_customer - Remove a customer
- update_ticketing_customer - Update a customer
deal
- create_crm_deal - Create a deal
- get_crm_deal - Retrieve a deal
- list_crm_deals - List all deals
- patch_crm_deal - Update a deal
- remove_crm_deal - Remove a deal
- update_crm_deal - Update a deal
document
- create_ats_document - Create a document
- get_ats_document - Retrieve a document
- list_ats_documents - List all documents
- patch_ats_document - Update a document
- remove_ats_document - Remove a document
- update_ats_document - Update a document
employee
- create_hris_employee - Create an employee
- get_hris_employee - Retrieve an employee
- list_hris_employees - List all employees
- patch_hris_employee - Update an employee
- remove_hris_employee - Remove an employee
- update_hris_employee - Update an employee
enrich
- list_enrich_companies - Retrieve enrichment information for a company
- list_enrich_people - Retrieve enrichment information for a person
event
- create_crm_event - Create an event
- get_crm_event - Retrieve an event
- list_crm_events - List all events
- patch_crm_event - Update an event
- remove_crm_event - Remove an event
- update_crm_event - Update an event
file
- create_storage_file - Create a file
- get_storage_file - Retrieve a file
- list_storage_files - List all files
- patch_storage_file - Update a file
- remove_storage_file - Remove a file
- update_storage_file - Update a file
genai
- create_genai_prompt - Create a prompt
- list_genai_models - List all models
group
- create_hris_group - Create a group
- create_scim_groups - Create group
- get_hris_group - Retrieve a group
- get_scim_groups - Get group
- list_hris_groups - List all groups
- list_scim_groups - List groups
- patch_hris_group - Update a group
- patch_scim_groups - Update group
- remove_hris_group - Remove a group
- remove_scim_groups - Delete group
- update_hris_group - Update a group
- update_scim_groups - Update group
hris
- create_hris_company - Create a company
- create_hris_employee - Create an employee
- create_hris_group - Create a group
- create_hris_location - Create a location
- get_hris_company - Retrieve a company
- get_hris_employee - Retrieve an employee
- get_hris_group - Retrieve a group
- get_hris_location - Retrieve a location
- get_hris_payslip - Retrieve a payslip
- get_hris_timeoff - Retrieve a timeoff
- list_hris_companies - List all companies
- list_hris_employees - List all employees
- list_hris_groups - List all groups
- list_hris_locations - List all locations
- list_hris_payslips - List all payslips
- list_hris_timeoffs - List all timeoffs
- patch_hris_company - Update a company
- patch_hris_employee - Update an employee
- patch_hris_group - Update a group
- patch_hris_location - Update a location
- remove_hris_company - Remove a company
- remove_hris_employee - Remove an employee
- remove_hris_group - Remove a group
- remove_hris_location - Remove a location
- update_hris_company - Update a company
- update_hris_employee - Update an employee
- update_hris_group - Update a group
- update_hris_location - Update a location
instructor
- create_lms_instructor - Create an instructor
- get_lms_instructor - Retrieve an instructor
- list_lms_instructors - List all instructors
- patch_lms_instructor - Update an instructor
- remove_lms_instructor - Remove an instructor
- update_lms_instructor - Update an instructor
integration
- get_unified_integration_auth - Create connection indirectly
- list_unified_integration_workspaces - Returns all activated integrations in a workspace
- list_unified_integrations - Returns all integrations
interview
- create_ats_interview - Create an interview
- get_ats_interview - Retrieve an interview
- list_ats_interviews - List all interviews
- patch_ats_interview - Update an interview
- remove_ats_interview - Remove an interview
- update_ats_interview - Update an interview
inventory
- create_commerce_inventory - Create an inventory
- get_commerce_inventory - Retrieve an inventory
- list_commerce_inventories - List all inventories
- patch_commerce_inventory - Update an inventory
- remove_commerce_inventory - Remove an inventory
- update_commerce_inventory - Update an inventory
invoice
- create_accounting_invoice - Create an invoice
- get_accounting_invoice - Retrieve an invoice
- list_accounting_invoices - List all invoices
- patch_accounting_invoice - Update an invoice
- remove_accounting_invoice - Remove an invoice
- update_accounting_invoice - Update an invoice
issue
- list_unified_issues - List support issues
item
- create_commerce_item - Create an item
- get_commerce_item - Retrieve an item
- list_commerce_items - List all items
- patch_commerce_item - Update an item
- remove_commerce_item - Remove an item
- update_commerce_item - Update an item
job
- create_ats_job - Create a job
- get_ats_job - Retrieve a job
- list_ats_jobs - List all jobs
- patch_ats_job - Update a job
- remove_ats_job - Remove a job
- update_ats_job - Update a job
journal
- create_accounting_journal - Create a journal
- get_accounting_journal - Retrieve a journal
- list_accounting_journals - List all journals
- patch_accounting_journal - Update a journal
- remove_accounting_journal - Remove a journal
- update_accounting_journal - Update a journal
kms
- create_kms_page - Create a page
- create_kms_space - Create a space
- get_kms_page - Retrieve a page
- get_kms_space - Retrieve a space
- list_kms_pages - List all pages
- list_kms_spaces - List all spaces
- patch_kms_page - Update a page
- patch_kms_space - Update a space
- remove_kms_page - Remove a page
- remove_kms_space - Remove a space
- update_kms_page - Update a page
- update_kms_space - Update a space
lead
- create_crm_lead - Create a lead
- get_crm_lead - Retrieve a lead
- list_crm_leads - List all leads
- patch_crm_lead - Update a lead
- remove_crm_lead - Remove a lead
- update_crm_lead - Update a lead
link
- create_payment_link - Create a link
- get_payment_link - Retrieve a link
- list_payment_links - List all links
- patch_payment_link - Update a link
- remove_payment_link - Remove a link
- update_payment_link - Update a link
list
- create_martech_list - Create a list
- get_martech_list - Retrieve a list
- list_martech_lists - List all lists
- patch_martech_list - Update a list
- remove_martech_list - Remove a list
- update_martech_list - Update a list
lms
- create_lms_class - Create a class
- create_lms_course - Create a course
- create_lms_instructor - Create an instructor
- create_lms_student - Create a student
- get_lms_class - Retrieve a class
- get_lms_course - Retrieve a course
- get_lms_instructor - Retrieve an instructor
- get_lms_student - Retrieve a student
- list_lms_classes - List all classes
- list_lms_courses - List all courses
- list_lms_instructors - List all instructors
- list_lms_students - List all students
- patch_lms_class - Update a class
- patch_lms_course - Update a course
- patch_lms_instructor - Update an instructor
- patch_lms_student - Update a student
- remove_lms_class - Remove a class
- remove_lms_course - Remove a course
- remove_lms_instructor - Remove an instructor
- remove_lms_student - Remove a student
- update_lms_class - Update a class
- update_lms_course - Update a course
- update_lms_instructor - Update an instructor
- update_lms_student - Update a student
location
- create_commerce_location - Create a location
- create_hris_location - Create a location
- get_commerce_location - Retrieve a location
- get_hris_location - Retrieve a location
- list_commerce_locations - List all locations
- list_hris_locations - List all locations
- patch_commerce_location - Update a location
- patch_hris_location - Update a location
- remove_commerce_location - Remove a location
- remove_hris_location - Remove a location
- update_commerce_location - Update a location
- update_hris_location - Update a location
login
- get_unified_integration_login - Sign in a user
martech
- create_martech_list - Create a list
- create_martech_member - Create a member
- get_martech_list - Retrieve a list
- get_martech_member - Retrieve a member
- list_martech_lists - List all lists
- list_martech_members - List all members
- patch_martech_list - Update a list
- patch_martech_member - Update a member
- remove_martech_list - Remove a list
- remove_martech_member - Remove a member
- update_martech_list - Update a list
- update_martech_member - Update a member
member
- create_martech_member - Create a member
- get_martech_member - Retrieve a member
- list_martech_members - List all members
- patch_martech_member - Update a member
- remove_martech_member - Remove a member
- update_martech_member - Update a member
message
- create_messaging_message - Create a message
- get_messaging_message - Retrieve a message
- list_messaging_messages - List all messages
- patch_messaging_message - Update a message
- remove_messaging_message - Remove a message
- update_messaging_message - Update a message
messaging
- create_messaging_message - Create a message
- get_messaging_channel - Retrieve a channel
- get_messaging_message - Retrieve a message
- list_messaging_channels - List all channels
- list_messaging_messages - List all messages
- patch_messaging_message - Update a message
- remove_messaging_message - Remove a message
- update_messaging_message - Update a message
model
- list_genai_models - List all models
note
- create_ticketing_note - Create a note
- get_ticketing_note - Retrieve a note
- list_ticketing_notes - List all notes
- patch_ticketing_note - Update a note
- remove_ticketing_note - Remove a note
- update_ticketing_note - Update a note
order
- create_accounting_order - Create an order
- get_accounting_order - Retrieve an order
- list_accounting_orders - List all orders
- patch_accounting_order - Update an order
- remove_accounting_order - Remove an order
- update_accounting_order - Update an order
organization
- create_repo_organization - Create an organization
- get_accounting_organization - Retrieve an organization
- get_repo_organization - Retrieve an organization
- list_accounting_organizations - List all organizations
- list_repo_organizations - List all organizations
- patch_repo_organization - Update an organization
- remove_repo_organization - Remove an organization
- update_repo_organization - Update an organization
page
- create_kms_page - Create a page
- get_kms_page - Retrieve a page
- list_kms_pages - List all pages
- patch_kms_page - Update a page
- remove_kms_page - Remove a page
- update_kms_page - Update a page
passthrough
- create_passthrough_json - Passthrough POST
- create_passthrough_raw - Passthrough POST
- list_passthroughs - Passthrough GET
- patch_passthrough_json - Passthrough PUT
- patch_passthrough_raw - Passthrough PUT
- remove_passthrough - Passthrough DELETE
- update_passthrough_json - Passthrough PUT
- update_passthrough_raw - Passthrough PUT
payment
- create_payment_link - Create a link
- create_payment_payment - Create a payment
- get_payment_link - Retrieve a link
- get_payment_payment - Retrieve a payment
- get_payment_payout - Retrieve a payout
- get_payment_refund - Retrieve a refund
- list_payment_links - List all links
- list_payment_payments - List all payments
- list_payment_payouts - List all payouts
- list_payment_refunds - List all refunds
- patch_payment_link - Update a link
- patch_payment_payment - Update a payment
- remove_payment_link - Remove a link
- remove_payment_payment - Remove a payment
- update_payment_link - Update a link
- update_payment_payment - Update a payment
payout
- get_payment_payout - Retrieve a payout
- list_payment_payouts - List all payouts
payslip
- get_hris_payslip - Retrieve a payslip
- list_hris_payslips - List all payslips
person
- list_enrich_people - Retrieve enrichment information for a person
pipeline
- create_crm_pipeline - Create a pipeline
- get_crm_pipeline - Retrieve a pipeline
- list_crm_pipelines - List all pipelines
- patch_crm_pipeline - Update a pipeline
- remove_crm_pipeline - Remove a pipeline
- update_crm_pipeline - Update a pipeline
project
- create_task_project - Create a project
- get_task_project - Retrieve a project
- list_task_projects - List all projects
- patch_task_project - Update a project
- remove_task_project - Remove a project
- update_task_project - Update a project
prompt
- create_genai_prompt - Create a prompt
pullrequest
- create_repo_pullrequest - Create a pullrequest
- get_repo_pullrequest - Retrieve a pullrequest
- list_repo_pullrequests - List all pullrequests
- patch_repo_pullrequest - Update a pullrequest
- remove_repo_pullrequest - Remove a pullrequest
- update_repo_pullrequest - Update a pullrequest
refund
- get_payment_refund - Retrieve a refund
- list_payment_refunds - List all refunds
repo
- create_repo_branch - Create a branch
- create_repo_commit - Create a commit
- create_repo_organization - Create an organization
- create_repo_pullrequest - Create a pullrequest
- create_repo_repository - Create a repository
- get_repo_branch - Retrieve a branch
- get_repo_commit - Retrieve a commit
- get_repo_organization - Retrieve an organization
- get_repo_pullrequest - Retrieve a pullrequest
- get_repo_repository - Retrieve a repository
- list_repo_branches - List all branches
- list_repo_commits - List all commits
- list_repo_organizations - List all organizations
- list_repo_pullrequests - List all pullrequests
- list_repo_repositories - List all repositories
- patch_repo_branch - Update a branch
- patch_repo_commit - Update a commit
- patch_repo_organization - Update an organization
- patch_repo_pullrequest - Update a pullrequest
- patch_repo_repository - Update a repository
- remove_repo_branch - Remove a branch
- remove_repo_commit - Remove a commit
- remove_repo_organization - Remove an organization
- remove_repo_pullrequest - Remove a pullrequest
- remove_repo_repository - Remove a repository
- update_repo_branch - Update a branch
- update_repo_commit - Update a commit
- update_repo_organization - Update an organization
- update_repo_pullrequest - Update a pullrequest
- update_repo_repository - Update a repository
repository
- create_repo_repository - Create a repository
- get_repo_repository - Retrieve a repository
- list_repo_repositories - List all repositories
- patch_repo_repository - Update a repository
- remove_repo_repository - Remove a repository
- update_repo_repository - Update a repository
scim
- create_scim_groups - Create group
- create_scim_users - Create user
- get_scim_groups - Get group
- get_scim_users - Get user
- list_scim_groups - List groups
- list_scim_users - List users
- patch_scim_groups - Update group
- patch_scim_users - Update user
- remove_scim_groups - Delete group
- remove_scim_users - Delete user
- update_scim_groups - Update group
- update_scim_users - Update user
scorecard
- create_ats_scorecard - Create a scorecard
- get_ats_scorecard - Retrieve a scorecard
- list_ats_scorecards - List all scorecards
- patch_ats_scorecard - Update a scorecard
- remove_ats_scorecard - Remove a scorecard
- update_ats_scorecard - Update a scorecard
space
- create_kms_space - Create a space
- get_kms_space - Retrieve a space
- list_kms_spaces - List all spaces
- patch_kms_space - Update a space
- remove_kms_space - Remove a space
- update_kms_space - Update a space
storage
- create_storage_file - Create a file
- get_storage_file - Retrieve a file
- list_storage_files - List all files
- patch_storage_file - Update a file
- remove_storage_file - Remove a file
- update_storage_file - Update a file
student
- create_lms_student - Create a student
- get_lms_student - Retrieve a student
- list_lms_students - List all students
- patch_lms_student - Update a student
- remove_lms_student - Remove a student
- update_lms_student - Update a student
task
- create_task_project - Create a project
- create_task_task - Create a task
- get_task_project - Retrieve a project
- get_task_task - Retrieve a task
- list_task_projects - List all projects
- list_task_tasks - List all tasks
- patch_task_project - Update a project
- patch_task_task - Update a task
- remove_task_project - Remove a project
- remove_task_task - Remove a task
- update_task_project - Update a project
- update_task_task - Update a task
taxrate
- create_accounting_taxrate - Create a taxrate
- get_accounting_taxrate - Retrieve a taxrate
- list_accounting_taxrates - List all taxrates
- patch_accounting_taxrate - Update a taxrate
- remove_accounting_taxrate - Remove a taxrate
- update_accounting_taxrate - Update a taxrate
ticket
- create_ticketing_ticket - Create a ticket
- get_ticketing_ticket - Retrieve a ticket
- list_ticketing_tickets - List all tickets
- patch_ticketing_ticket - Update a ticket
- remove_ticketing_ticket - Remove a ticket
- update_ticketing_ticket - Update a ticket
ticketing
- create_ticketing_customer - Create a customer
- create_ticketing_note - Create a note
- create_ticketing_ticket - Create a ticket
- get_ticketing_customer - Retrieve a customer
- get_ticketing_note - Retrieve a note
- get_ticketing_ticket - Retrieve a ticket
- list_ticketing_customers - List all customers
- list_ticketing_notes - List all notes
- list_ticketing_tickets - List all tickets
- patch_ticketing_customer - Update a customer
- patch_ticketing_note - Update a note
- patch_ticketing_ticket - Update a ticket
- remove_ticketing_customer - Remove a customer
- remove_ticketing_note - Remove a note
- remove_ticketing_ticket - Remove a ticket
- update_ticketing_customer - Update a customer
- update_ticketing_note - Update a note
- update_ticketing_ticket - Update a ticket
timeoff
- get_hris_timeoff - Retrieve a timeoff
- list_hris_timeoffs - List all timeoffs
transaction
- create_accounting_transaction - Create a transaction
- get_accounting_transaction - Retrieve a transaction
- list_accounting_transactions - List all transactions
- patch_accounting_transaction - Update a transaction
- remove_accounting_transaction - Remove a transaction
- update_accounting_transaction - Update a transaction
uc
- create_uc_contact - Create a contact
- get_uc_contact - Retrieve a contact
- list_uc_calls - List all calls
- list_uc_contacts - List all contacts
- patch_uc_contact - Update a contact
- remove_uc_contact - Remove a contact
- update_uc_contact - Update a contact
unified
- create_unified_connection - Create connection
- create_unified_webhook - Create webhook subscription
- get_unified_apicall - Retrieve specific API Call by its ID
- get_unified_connection - Retrieve connection
- get_unified_integration_auth - Create connection indirectly
- get_unified_webhook - Retrieve webhook by its ID
- list_unified_apicalls - Returns API Calls
- list_unified_connections - List all connections
- list_unified_integration_workspaces - Returns all activated integrations in a workspace
- list_unified_integrations - Returns all integrations
- list_unified_issues - List support issues
- list_unified_webhooks - Returns all registered webhooks
- patch_unified_connection - Update connection
- patch_unified_webhook - Update webhook subscription
- patch_unified_webhook_trigger - Trigger webhook
- remove_unified_connection - Remove connection
- remove_unified_webhook - Remove webhook subscription
- update_unified_connection - Update connection
- update_unified_webhook - Update webhook subscription
- update_unified_webhook_trigger - Trigger webhook
user
- create_scim_users - Create user
- get_scim_users - Get user
- list_scim_users - List users
- patch_scim_users - Update user
- remove_scim_users - Delete user
- update_scim_users - Update user
webhook
- create_unified_webhook - Create webhook subscription
- get_unified_webhook - Retrieve webhook by its ID
- list_unified_webhooks - Returns all registered webhooks
- patch_unified_webhook - Update webhook subscription
- patch_unified_webhook_trigger - Trigger webhook
- remove_unified_webhook - Remove webhook subscription
- update_unified_webhook - Update webhook subscription
- update_unified_webhook_trigger - Trigger webhook
Error Handling
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
By default, an API error will raise a errors.SDKError exception, which has the following properties:
Property | Type | Description |
---|---|---|
.status_code |
int | The HTTP status code |
.message |
str | The error message |
.raw_response |
httpx.Response | The raw HTTP response |
.body |
str | The response content |
When custom error responses are specified for an operation, the SDK may also raise their associated exception. You can refer to respective Errors tables in SDK docs for more details on possible exception types for each operation. For example, the create_accounting_account
method may raise the following exceptions:
Error Type | Status Code | Content Type |
---|---|---|
errors.SDKError | 4XX, 5XX | */* |
Example
import unified_to
from unified_to.models import errors, operations
s = unified_to.UnifiedTo()
res = None
try:
res = s.accounting.create_accounting_account(request=operations.CreateAccountingAccountRequest(
connection_id='<value>',
))
except errors.SDKError as e:
# handle exception
raise(e)
if res.accounting_account is not None:
# handle response
pass
Server Selection
Select Server by Index
You can override the default server globally by passing a server index to the server_idx: int
optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
# | Server |
---|---|
0 | https://api.unified.to |
1 | https://api-eu.unified.to |
Example
import unified_to
from unified_to.models import operations
s = unified_to.UnifiedTo(
server_idx=1,
)
res = s.accounting.create_accounting_account(request=operations.CreateAccountingAccountRequest(
connection_id='<value>',
))
if res.accounting_account is not None:
# handle response
pass
Override Server URL Per-Client
The default server can also be overridden globally by passing a URL to the server_url: str
optional parameter when initializing the SDK client instance. For example:
import unified_to
from unified_to.models import operations
s = unified_to.UnifiedTo(
server_url="https://api.unified.to",
)
res = s.accounting.create_accounting_account(request=operations.CreateAccountingAccountRequest(
connection_id='<value>',
))
if res.accounting_account is not None:
# handle response
pass
Custom HTTP Client
The Python SDK makes API calls using the requests HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom requests.Session
object.
For example, you could specify a header for every request that this sdk makes as follows:
import unified_to
import requests
http_client = requests.Session()
http_client.headers.update({'x-custom-header': 'someValue'})
s = unified_to.UnifiedTo(client=http_client)
Authentication
Per-Client Security Schemes
This SDK supports the following security scheme globally:
Name | Type | Scheme |
---|---|---|
jwt |
apiKey | API key |
You can set the security parameters through the security
optional parameter when initializing the SDK client instance. For example:
import unified_to
from unified_to.models import operations, shared
s = unified_to.UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
)
res = s.accounting.create_accounting_account(request=operations.CreateAccountingAccountRequest(
connection_id='<value>',
))
if res.accounting_account is not None:
# handle response
pass
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!
SDK Created by Speakeasy
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
File details
Details for the file Unified-python-sdk-0.24.9.tar.gz
.
File metadata
- Download URL: Unified-python-sdk-0.24.9.tar.gz
- Upload date:
- Size: 182.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7e96662dcda6f18474ff0f2c7449a4f45d1df3c38e1b8337d6db67469c448f |
|
MD5 | 2c13680b19a18c9b44345db42c03d041 |
|
BLAKE2b-256 | e8c2b0451463128b5c7890bd16a4d663561fa09146c255caad360f2113b9aa0c |
File details
Details for the file Unified_python_sdk-0.24.9-py3-none-any.whl
.
File metadata
- Download URL: Unified_python_sdk-0.24.9-py3-none-any.whl
- Upload date:
- Size: 592.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f794c4b6d872ad1541d5ff6d53290c4256384e005375f68fb3beb2c586175be9 |
|
MD5 | e91beab48828d52f332140db2da65190 |
|
BLAKE2b-256 | d9426c2e22b9e8ed9b7bd02cb7df14807a1d227a52230de6cd4d7605365e57f9 |