Package: apideck
Apideck Python SDKTable of ContentsTable of ContentsInstallationGetting startedExampleSupportLicenseRequirements.Python >=3.6Installation & Usagepip installpipinstallapideckor you can install directly using:pipinstallgit+https://github.com/apideck-libraries/python-sdk.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/apideck-libraries/python-sdk.git)Then import the package:importapideckSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importapideckGetting startedThe module supports all Apideck API endpoints. For complete information about the API, head
to thedocs.ExampleRetrieving a list of all contacts and updating the first record with a new address.importapideckfromapideck.apiimportcrm_apifromapideck.model.contacts_sortimportContactsSortfromapideck.model.sort_directionimportSortDirectionfrompprintimportpprintconfiguration=apideck.Configuration()configuration.api_key['apiKey']='<insert-api-key-here>'configuration.api_key_prefix['apiKey']='Bearer'withapideck.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=crm_api.CrmApi(api_client)raw=Falseconsumer_id='<insert-consumer-id-here>'app_id='<insert-application-id-here>'service_id='<insert-service-id-here>'limit=20sort=ContactsSort(by="name",direction=SortDirection("asc"),)try:# List contactsapi_response=api_instance.contacts_all(raw=raw,consumer_id=consumer_id,app_id=app_id,service_id=service_id,limit=limit,sort=sort)pprint(api_response)exceptapideck.ApiExceptionase:print("Exception when calling CrmApi->contacts_all:%s\n"%e)Apideck Unified ApisThe following Apis are currently available:AccountingApiRead the full documentation of the AccountingApihere.AtsApiRead the full documentation of the AtsApihere.ConnectorApiRead the full documentation of the ConnectorApihere.CrmApiRead the full documentation of the CrmApihere.EcommerceApiRead the full documentation of the EcommerceApihere.FileStorageApiRead the full documentation of the FileStorageApihere.HrisApiRead the full documentation of the HrisApihere.IssueTrackingApiRead the full documentation of the IssueTrackingApihere.LeadApiRead the full documentation of the LeadApihere.PosApiRead the full documentation of the PosApihere.SmsApiRead the full documentation of the SmsApihere.VaultApiRead the full documentation of the VaultApihere.WebhookApiRead the full documentation of the WebhookApihere.UtilsuploadFileA utility for uploading files using the File Storage API.uploadFilewill automatically use upload sessions for files larger than 4MB. Smaller files will be uploaded with a simple upload call.Example UsageSupportOpen anissue!LicenseApache-2.0importtimeimportapideckfrompprintimportpprintfromapideck.apiimportaccounting_apifromapideck.model.bad_request_responseimportBadRequestResponsefromapideck.model.balance_sheet_filterimportBalanceSheetFilterfromapideck.model.billimportBillfromapideck.model.bills_filterimportBillsFilterfromapideck.model.bills_sortimportBillsSortfromapideck.model.create_bill_responseimportCreateBillResponsefromapideck.model.create_credit_note_responseimportCreateCreditNoteResponsefromapideck.model.create_customer_responseimportCreateCustomerResponsefromapideck.model.create_invoice_item_responseimportCreateInvoiceItemResponsefromapideck.model.create_invoice_responseimportCreateInvoiceResponsefromapideck.model.create_journal_entry_responseimportCreateJournalEntryResponsefromapideck.model.create_ledger_account_responseimportCreateLedgerAccountResponsefromapideck.model.create_payment_responseimportCreatePaymentResponsefromapideck.model.create_purchase_order_responseimportCreatePurchaseOrderResponsefromapideck.model.create_supplier_responseimportCreateSupplierResponsefromapideck.model.create_tax_rate_responseimportCreateTaxRateResponsefromapideck.model.credit_noteimportCreditNotefromapideck.model.credit_notes_filterimportCreditNotesFilterfromapideck.model.credit_notes_sortimportCreditNotesSortfromapideck.model.customerimportCustomerfromapideck.model.customers_filterimportCustomersFilterfromapideck.model.customers_sortimportCustomersSortfromapideck.model.delete_bill_responseimportDeleteBillResponsefromapideck.model.delete_credit_note_responseimportDeleteCreditNoteResponsefromapideck.model.delete_customer_responseimportDeleteCustomerResponsefromapideck.model.delete_invoice_responseimportDeleteInvoiceResponsefromapideck.model.delete_journal_entry_responseimportDeleteJournalEntryResponsefromapideck.model.delete_ledger_account_responseimportDeleteLedgerAccountResponsefromapideck.model.delete_payment_responseimportDeletePaymentResponsefromapideck.model.delete_purchase_order_responseimportDeletePurchaseOrderResponsefromapideck.model.delete_supplier_responseimportDeleteSupplierResponsefromapideck.model.delete_tax_rate_responseimportDeleteTaxRateResponsefromapideck.model.get_balance_sheet_responseimportGetBalanceSheetResponsefromapideck.model.get_bill_responseimportGetBillResponsefromapideck.model.get_bills_responseimportGetBillsResponsefromapideck.model.get_company_info_responseimportGetCompanyInfoResponsefromapideck.model.get_credit_note_responseimportGetCreditNoteResponsefromapideck.model.get_credit_notes_responseimportGetCreditNotesResponsefromapideck.model.get_customer_responseimportGetCustomerResponsefromapideck.model.get_customers_responseimportGetCustomersResponsefromapideck.model.get_invoice_item_responseimportGetInvoiceItemResponsefromapideck.model.get_invoice_items_responseimportGetInvoiceItemsResponsefromapideck.model.get_invoice_responseimportGetInvoiceResponsefromapideck.model.get_invoices_responseimportGetInvoicesResponsefromapideck.model.get_journal_entries_responseimportGetJournalEntriesResponsefromapideck.model.get_journal_entry_responseimportGetJournalEntryResponsefromapideck.model.get_ledger_account_responseimportGetLedgerAccountResponsefromapideck.model.get_ledger_accounts_responseimportGetLedgerAccountsResponsefromapideck.model.get_payment_responseimportGetPaymentResponsefromapideck.model.get_payments_responseimportGetPaymentsResponsefromapideck.model.get_profit_and_loss_responseimportGetProfitAndLossResponsefromapideck.model.get_purchase_order_responseimportGetPurchaseOrderResponsefromapideck.model.get_purchase_orders_responseimportGetPurchaseOrdersResponsefromapideck.model.get_supplier_responseimportGetSupplierResponsefromapideck.model.get_suppliers_responseimportGetSuppliersResponsefromapideck.model.get_tax_rate_responseimportGetTaxRateResponsefromapideck.model.get_tax_rates_responseimportGetTaxRatesResponsefromapideck.model.invoiceimportInvoicefromapideck.model.invoice_itemimportInvoiceItemfromapideck.model.invoice_items_filterimportInvoiceItemsFilterfromapideck.model.invoices_filterimportInvoicesFilterfromapideck.model.invoices_sortimportInvoicesSortfromapideck.model.journal_entries_filterimportJournalEntriesFilterfromapideck.model.journal_entries_sortimportJournalEntriesSortfromapideck.model.journal_entryimportJournalEntryfromapideck.model.ledger_accountimportLedgerAccountfromapideck.model.ledger_accounts_filterimportLedgerAccountsFilterfromapideck.model.ledger_accounts_sortimportLedgerAccountsSortfromapideck.model.not_found_responseimportNotFoundResponsefromapideck.model.pass_through_queryimportPassThroughQueryfromapideck.model.paymentimportPaymentfromapideck.model.payment_required_responseimportPaymentRequiredResponsefromapideck.model.payments_filterimportPaymentsFilterfromapideck.model.payments_sortimportPaymentsSortfromapideck.model.profit_and_loss_filterimportProfitAndLossFilterfromapideck.model.purchase_orderimportPurchaseOrderfromapideck.model.purchase_orders_filterimportPurchaseOrdersFilterfromapideck.model.purchase_orders_sortimportPurchaseOrdersSortfromapideck.model.supplierimportSupplierfromapideck.model.suppliers_filterimportSuppliersFilterfromapideck.model.suppliers_sortimportSuppliersSortfromapideck.model.tax_rateimportTaxRatefromapideck.model.tax_rates_filterimportTaxRatesFilterfromapideck.model.unauthorized_responseimportUnauthorizedResponsefromapideck.model.unexpected_error_responseimportUnexpectedErrorResponsefromapideck.model.unprocessable_responseimportUnprocessableResponsefromapideck.model.update_bill_responseimportUpdateBillResponsefromapideck.model.update_credit_note_responseimportUpdateCreditNoteResponsefromapideck.model.update_customer_responseimportUpdateCustomerResponsefromapideck.model.update_invoice_items_responseimportUpdateInvoiceItemsResponsefromapideck.model.update_invoice_responseimportUpdateInvoiceResponsefromapideck.model.update_journal_entry_responseimportUpdateJournalEntryResponsefromapideck.model.update_ledger_account_responseimportUpdateLedgerAccountResponsefromapideck.model.update_payment_responseimportUpdatePaymentResponsefromapideck.model.update_purchase_order_responseimportUpdatePurchaseOrderResponsefromapideck.model.update_supplier_responseimportUpdateSupplierResponsefromapideck.model.update_tax_rate_responseimportUpdateTaxRateResponse# Defining the host is optional and defaults to https://unify.apideck.com# See configuration.py for a list of all supported configuration parameters.configuration=apideck.Configuration(host="https://unify.apideck.com")# 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 API key authorization: apiKeyconfiguration.api_key['apiKey']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['apiKey'] = 'Bearer'# Enter a context with an instance of the API clientwithapideck.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=accounting_api.AccountingApi(api_client)x_apideck_consumer_id="x-apideck-consumer-id_example"# str | ID of the consumer which you want to get or push data from (optional)x_apideck_app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"# str | The ID of your Unify application (optional)x_apideck_service_id="x-apideck-service-id_example"# str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)pass_through=PassThroughQuery()# PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)filter=BalanceSheetFilter(start_date="2021-01-01",end_date="2021-12-31",)# BalanceSheetFilter | Apply filters (optional)raw=False# bool | Include raw response. Mostly used for debugging purposes (optional) (default to False)try:# Get BalanceSheetapi_response=api_instance.balance_sheet_one(x_apideck_consumer_id=x_apideck_consumer_id,x_apideck_app_id=x_apideck_app_id,x_apideck_service_id=x_apideck_service_id,pass_through=pass_through,filter=filter,raw=raw)pprint(api_response)exceptapideck.ApiExceptionase:print("Exception when calling AccountingApi->balance_sheet_one:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://unify.apideck.comClassMethodHTTP requestDescriptionAccountingApibalance_sheet_oneGET/accounting/balance-sheetGet BalanceSheetAccountingApi|bills_add|POST/accounting/bills | Create Bill |AccountingApi|bills_all|GET/accounting/bills | List Bills |AccountingApi|bills_delete|DELETE/accounting/bills/{id} | Delete Bill |AccountingApi|bills_one|GET/accounting/bills/{id} | Get Bill |AccountingApi|bills_update|PATCH/accounting/bills/{id} | Update Bill |AccountingApi|company_info_one|GET/accounting/company-info | Get company info |AccountingApi|credit_notes_add|POST/accounting/credit-notes | Create Credit Note |AccountingApi|credit_notes_all|GET/accounting/credit-notes | List Credit Notes |AccountingApi|credit_notes_delete|DELETE/accounting/credit-notes/{id} | Delete Credit Note |AccountingApi|credit_notes_one|GET/accounting/credit-notes/{id} | Get Credit Note |AccountingApi|credit_notes_update|PATCH/accounting/credit-notes/{id} | Update Credit Note |AccountingApi|customers_add|POST/accounting/customers | Create Customer |AccountingApi|customers_all|GET/accounting/customers | List Customers |AccountingApi|customers_delete|DELETE/accounting/customers/{id} | Delete Customer |AccountingApi|customers_one|GET/accounting/customers/{id} | Get Customer |AccountingApi|customers_update|PATCH/accounting/customers/{id} | Update Customer |AccountingApi|invoice_items_add|POST/accounting/invoice-items | Create Invoice Item |AccountingApi|invoice_items_all|GET/accounting/invoice-items | List Invoice Items |AccountingApi|invoice_items_delete|DELETE/accounting/invoice-items/{id} | Delete Invoice Item |AccountingApi|invoice_items_one|GET/accounting/invoice-items/{id} | Get Invoice Item |AccountingApi|invoice_items_update|PATCH/accounting/invoice-items/{id} | Update Invoice Item |AccountingApi|invoices_add|POST/accounting/invoices | Create Invoice |AccountingApi|invoices_all|GET/accounting/invoices | List Invoices |AccountingApi|invoices_delete|DELETE/accounting/invoices/{id} | Delete Invoice |AccountingApi|invoices_one|GET/accounting/invoices/{id} | Get Invoice |AccountingApi|invoices_update|PATCH/accounting/invoices/{id} | Update Invoice |AccountingApi|journal_entries_add|POST/accounting/journal-entries | Create Journal Entry |AccountingApi|journal_entries_all|GET/accounting/journal-entries | List Journal Entries |AccountingApi|journal_entries_delete|DELETE/accounting/journal-entries/{id} | Delete Journal Entry |AccountingApi|journal_entries_one|GET/accounting/journal-entries/{id} | Get Journal Entry |AccountingApi|journal_entries_update|PATCH/accounting/journal-entries/{id} | Update Journal Entry |AccountingApi|ledger_accounts_add|POST/accounting/ledger-accounts | Create Ledger Account |AccountingApi|ledger_accounts_all|GET/accounting/ledger-accounts | List Ledger Accounts |AccountingApi|ledger_accounts_delete|DELETE/accounting/ledger-accounts/{id} | Delete Ledger Account |AccountingApi|ledger_accounts_one|GET/accounting/ledger-accounts/{id} | Get Ledger Account |AccountingApi|ledger_accounts_update|PATCH/accounting/ledger-accounts/{id} | Update Ledger Account |AccountingApi|payments_add|POST/accounting/payments | Create Payment |AccountingApi|payments_all|GET/accounting/payments | List Payments |AccountingApi|payments_delete|DELETE/accounting/payments/{id} | Delete Payment |AccountingApi|payments_one|GET/accounting/payments/{id} | Get Payment |AccountingApi|payments_update|PATCH/accounting/payments/{id} | Update Payment |AccountingApi|profit_and_loss_one|GET/accounting/profit-and-loss | Get Profit and Loss |AccountingApi|purchase_orders_add|POST/accounting/purchase-orders | Create Purchase Order |AccountingApi|purchase_orders_all|GET/accounting/purchase-orders | List Purchase Orders |AccountingApi|purchase_orders_delete|DELETE/accounting/purchase-orders/{id} | Delete Purchase Order |AccountingApi|purchase_orders_one|GET/accounting/purchase-orders/{id} | Get Purchase Order |AccountingApi|purchase_orders_update|PATCH/accounting/purchase-orders/{id} | Update Purchase Order |AccountingApi|suppliers_add|POST/accounting/suppliers | Create Supplier |AccountingApi|suppliers_all|GET/accounting/suppliers | List Suppliers |AccountingApi|suppliers_delete|DELETE/accounting/suppliers/{id} | Delete Supplier |AccountingApi|suppliers_one|GET/accounting/suppliers/{id} | Get Supplier |AccountingApi|suppliers_update|PATCH/accounting/suppliers/{id} | Update Supplier |AccountingApi|tax_rates_add|POST/accounting/tax-rates | Create Tax Rate |AccountingApi|tax_rates_all|GET/accounting/tax-rates | List Tax Rates |AccountingApi|tax_rates_delete|DELETE/accounting/tax-rates/{id} | Delete Tax Rate |AccountingApi|tax_rates_one|GET/accounting/tax-rates/{id} | Get Tax Rate |AccountingApi|tax_rates_update|PATCH/accounting/tax-rates/{id} | Update Tax Rate |AtsApi|applicants_add|POST/ats/applicants | Create Applicant |AtsApi|applicants_all|GET/ats/applicants | List Applicants |AtsApi|applicants_delete|DELETE/ats/applicants/{id} | Delete Applicant |AtsApi|applicants_one|GET/ats/applicants/{id} | Get Applicant |AtsApi|applicants_update|PATCH/ats/applicants/{id} | Update Applicant |AtsApi|applications_add|POST/ats/applications | Create Application |AtsApi|applications_all|GET/ats/applications | List Applications |AtsApi|applications_delete|DELETE/ats/applications/{id} | Delete Application |AtsApi|applications_one|GET/ats/applications/{id} | Get Application |AtsApi|applications_update|PATCH/ats/applications/{id} | Update Application |AtsApi|jobs_all|GET/ats/jobs | List Jobs |AtsApi|jobs_one|GET/ats/jobs/{id} | Get Job |ConnectorApi|api_resource_coverage_one|GET/connector/apis/{id}/resources/{resource_id}/coverage | Get API Resource Coverage |ConnectorApi|api_resources_one|GET/connector/apis/{id}/resources/{resource_id} | Get API Resource |ConnectorApi|apis_all|GET/connector/apis | List APIs |ConnectorApi|apis_one|GET/connector/apis/{id} | Get API |ConnectorApi|connector_docs_one|GET/connector/connectors/{id}/docs/{doc_id} | Get Connector Doc content |ConnectorApi|connector_resources_one|GET/connector/connectors/{id}/resources/{resource_id} | Get Connector Resource |ConnectorApi|connectors_all|GET/connector/connectors | List Connectors |ConnectorApi|connectors_one|GET/connector/connectors/{id} | Get Connector |CrmApi|activities_add|POST/crm/activities | Create activity |CrmApi|activities_all|GET/crm/activities | List activities |CrmApi|activities_delete|DELETE/crm/activities/{id} | Delete activity |CrmApi|activities_one|GET/crm/activities/{id} | Get activity |CrmApi|activities_update|PATCH/crm/activities/{id} | Update activity |CrmApi|companies_add|POST/crm/companies | Create company |CrmApi|companies_all|GET/crm/companies | List companies |CrmApi|companies_delete|DELETE/crm/companies/{id} | Delete company |CrmApi|companies_one|GET/crm/companies/{id} | Get company |CrmApi|companies_update|PATCH/crm/companies/{id} | Update company |CrmApi|contacts_add|POST/crm/contacts | Create contact |CrmApi|contacts_all|GET/crm/contacts | List contacts |CrmApi|contacts_delete|DELETE/crm/contacts/{id} | Delete contact |CrmApi|contacts_one|GET/crm/contacts/{id} | Get contact |CrmApi|contacts_update|PATCH/crm/contacts/{id} | Update contact |CrmApi|leads_add|POST/crm/leads | Create lead |CrmApi|leads_all|GET/crm/leads | List leads |CrmApi|leads_delete|DELETE/crm/leads/{id} | Delete lead |CrmApi|leads_one|GET/crm/leads/{id} | Get lead |CrmApi|leads_update|PATCH/crm/leads/{id} | Update lead |CrmApi|notes_add|POST/crm/notes | Create note |CrmApi|notes_all|GET/crm/notes | List notes |CrmApi|notes_delete|DELETE/crm/notes/{id} | Delete note |CrmApi|notes_one|GET/crm/notes/{id} | Get note |CrmApi|notes_update|PATCH/crm/notes/{id} | Update note |CrmApi|opportunities_add|POST/crm/opportunities | Create opportunity |CrmApi|opportunities_all|GET/crm/opportunities | List opportunities |CrmApi|opportunities_delete|DELETE/crm/opportunities/{id} | Delete opportunity |CrmApi|opportunities_one|GET/crm/opportunities/{id} | Get opportunity |CrmApi|opportunities_update|PATCH/crm/opportunities/{id} | Update opportunity |CrmApi|pipelines_add|POST/crm/pipelines | Create pipeline |CrmApi|pipelines_all|GET/crm/pipelines | List pipelines |CrmApi|pipelines_delete|DELETE/crm/pipelines/{id} | Delete pipeline |CrmApi|pipelines_one|GET/crm/pipelines/{id} | Get pipeline |CrmApi|pipelines_update|PATCH/crm/pipelines/{id} | Update pipeline |CrmApi|users_add|POST/crm/users | Create user |CrmApi|users_all|GET/crm/users | List users |CrmApi|users_delete|DELETE/crm/users/{id} | Delete user |CrmApi|users_one|GET/crm/users/{id} | Get user |CrmApi|users_update|PATCH/crm/users/{id} | Update user |EcommerceApi|customers_all|GET/ecommerce/customers | List Customers |EcommerceApi|customers_one|GET/ecommerce/customers/{id} | Get Customer |EcommerceApi|orders_all|GET/ecommerce/orders | List Orders |EcommerceApi|orders_one|GET/ecommerce/orders/{id} | Get Order |EcommerceApi|products_all|GET/ecommerce/products | List Products |EcommerceApi|products_one|GET/ecommerce/products/{id} | Get Product |EcommerceApi|stores_one|GET/ecommerce/store | Get Store |FileStorageApi|drive_groups_add|POST/file-storage/drive-groups | Create DriveGroup |FileStorageApi|drive_groups_all|GET/file-storage/drive-groups | List DriveGroups |FileStorageApi|drive_groups_delete|DELETE/file-storage/drive-groups/{id} | Delete DriveGroup |FileStorageApi|drive_groups_one|GET/file-storage/drive-groups/{id} | Get DriveGroup |FileStorageApi|drive_groups_update|PATCH/file-storage/drive-groups/{id} | Update DriveGroup |FileStorageApi|drives_add|POST/file-storage/drives | Create Drive |FileStorageApi|drives_all|GET/file-storage/drives | List Drives |FileStorageApi|drives_delete|DELETE/file-storage/drives/{id} | Delete Drive |FileStorageApi|drives_one|GET/file-storage/drives/{id} | Get Drive |FileStorageApi|drives_update|PATCH/file-storage/drives/{id} | Update Drive |FileStorageApi|files_all|GET/file-storage/files | List Files |FileStorageApi|files_delete|DELETE/file-storage/files/{id} | Delete File |FileStorageApi|files_download|GET/file-storage/files/{id}/download | Download File |FileStorageApi|files_export|GET/file-storage/files/{id}/export | Export File |FileStorageApi|files_one|GET/file-storage/files/{id} | Get File |FileStorageApi|files_search|POST/file-storage/files/search | Search Files |FileStorageApi|files_update|PATCH/file-storage/files/{id} | Rename or move File |FileStorageApi|folders_add|POST/file-storage/folders | Create Folder |FileStorageApi|folders_copy|POST/file-storage/folders/{id}/copy | Copy Folder |FileStorageApi|folders_delete|DELETE/file-storage/folders/{id} | Delete Folder |FileStorageApi|folders_one|GET/file-storage/folders/{id} | Get Folder |FileStorageApi|folders_update|PATCH/file-storage/folders/{id} | Rename or move Folder |FileStorageApi|shared_links_add|POST/file-storage/shared-links | Create Shared Link |FileStorageApi|shared_links_all|GET/file-storage/shared-links | List SharedLinks |FileStorageApi|shared_links_delete|DELETE/file-storage/shared-links/{id} | Delete Shared Link |FileStorageApi|shared_links_one|GET/file-storage/shared-links/{id} | Get Shared Link |FileStorageApi|shared_links_update|PATCH/file-storage/shared-links/{id} | Update Shared Link |FileStorageApi|upload_sessions_add|POST/file-storage/upload-sessions | Start Upload Session |FileStorageApi|upload_sessions_delete|DELETE/file-storage/upload-sessions/{id} | Abort Upload Session |FileStorageApi|upload_sessions_finish|POST/file-storage/upload-sessions/{id}/finish | Finish Upload Session |FileStorageApi|upload_sessions_one|GET/file-storage/upload-sessions/{id} | Get Upload Session |HrisApi|companies_add|POST/hris/companies | Create Company |HrisApi|companies_all|GET/hris/companies | List Companies |HrisApi|companies_delete|DELETE/hris/companies/{id} | Delete Company |HrisApi|companies_one|GET/hris/companies/{id} | Get Company |HrisApi|companies_update|PATCH/hris/companies/{id} | Update Company |HrisApi|departments_add|POST/hris/departments | Create Department |HrisApi|departments_all|GET/hris/departments | List Departments |HrisApi|departments_delete|DELETE/hris/departments/{id} | Delete Department |HrisApi|departments_one|GET/hris/departments/{id} | Get Department |HrisApi|departments_update|PATCH/hris/departments/{id} | Update Department |HrisApi|employee_payrolls_all|GET/hris/payrolls/employees/{employee_id} | List Employee Payrolls |HrisApi|employee_payrolls_one|GET/hris/payrolls/employees/{employee_id}/payrolls/{payroll_id} | Get Employee Payroll |HrisApi|employee_schedules_all|GET/hris/schedules/employees/{employee_id} | List Employee Schedules |HrisApi|employees_add|POST/hris/employees | Create Employee |HrisApi|employees_all|GET/hris/employees | List Employees |HrisApi|employees_delete|DELETE/hris/employees/{id} | Delete Employee |HrisApi|employees_one|GET/hris/employees/{id} | Get Employee |HrisApi|employees_update|PATCH/hris/employees/{id} | Update Employee |HrisApi|payrolls_all|GET/hris/payrolls | List Payroll |HrisApi|payrolls_one|GET/hris/payrolls/{payroll_id} | Get Payroll |HrisApi|time_off_requests_add|POST/hris/time-off-requests | Create Time Off Request |HrisApi|time_off_requests_all|GET/hris/time-off-requests | List Time Off Requests |HrisApi|time_off_requests_delete|DELETE/hris/time-off-requests/{id} | Delete Time Off Request |HrisApi|time_off_requests_one|GET/hris/time-off-requests/{id} | Get Time Off Request |HrisApi|time_off_requests_update|PATCH/hris/time-off-requests/{id} | Update Time Off Request |IssueTrackingApi|collection_tags_all|GET/issue-tracking/collections/{collection_id}/tags | List Tags |IssueTrackingApi|collection_ticket_comments_add|POST/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | Create Comment |IssueTrackingApi|collection_ticket_comments_all|GET/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | List Comments |IssueTrackingApi|collection_ticket_comments_delete|DELETE/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Delete Comment |IssueTrackingApi|collection_ticket_comments_one|GET/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Get Comment |IssueTrackingApi|collection_ticket_comments_update|PATCH/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Update Comment |IssueTrackingApi|collection_tickets_add|POST/issue-tracking/collections/{collection_id}/tickets | Create Ticket |IssueTrackingApi|collection_tickets_all|GET/issue-tracking/collections/{collection_id}/tickets | List Tickets |IssueTrackingApi|collection_tickets_delete|DELETE/issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Delete Ticket |IssueTrackingApi|collection_tickets_one|GET/issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Get Ticket |IssueTrackingApi|collection_tickets_update|PATCH/issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Update Ticket |IssueTrackingApi|collection_users_all|GET/issue-tracking/collections/{collection_id}/users | List Users |IssueTrackingApi|collection_users_one|GET/issue-tracking/collections/{collection_id}/users/{id} | Get user |IssueTrackingApi|collections_all|GET/issue-tracking/collections | List Collections |IssueTrackingApi|collections_one|GET/issue-tracking/collections/{collection_id} | Get Collection |LeadApi|leads_add|POST/lead/leads | Create lead |LeadApi|leads_all|GET/lead/leads | List leads |LeadApi|leads_delete|DELETE/lead/leads/{id} | Delete lead |LeadApi|leads_one|GET/lead/leads/{id} | Get lead |LeadApi|leads_update|PATCH/lead/leads/{id} | Update lead |PosApi|items_add|POST/pos/items | Create Item |PosApi|items_all|GET/pos/items | List Items |PosApi|items_delete|DELETE/pos/items/{id} | Delete Item |PosApi|items_one|GET/pos/items/{id} | Get Item |PosApi|items_update|PATCH/pos/items/{id} | Update Item |PosApi|locations_add|POST/pos/locations | Create Location |PosApi|locations_all|GET/pos/locations | List Locations |PosApi|locations_delete|DELETE/pos/locations/{id} | Delete Location |PosApi|locations_one|GET/pos/locations/{id} | Get Location |PosApi|locations_update|PATCH/pos/locations/{id} | Update Location |PosApi|merchants_add|POST/pos/merchants | Create Merchant |PosApi|merchants_all|GET/pos/merchants | List Merchants |PosApi|merchants_delete|DELETE/pos/merchants/{id} | Delete Merchant |PosApi|merchants_one|GET/pos/merchants/{id} | Get Merchant |PosApi|merchants_update|PATCH/pos/merchants/{id} | Update Merchant |PosApi|modifier_groups_add|POST/pos/modifier-groups | Create Modifier Group |PosApi|modifier_groups_all|GET/pos/modifier-groups | List Modifier Groups |PosApi|modifier_groups_delete|DELETE/pos/modifier-groups/{id} | Delete Modifier Group |PosApi|modifier_groups_one|GET/pos/modifier-groups/{id} | Get Modifier Group |PosApi|modifier_groups_update|PATCH/pos/modifier-groups/{id} | Update Modifier Group |PosApi|modifiers_add|POST/pos/modifiers | Create Modifier |PosApi|modifiers_all|GET/pos/modifiers | List Modifiers |PosApi|modifiers_delete|DELETE/pos/modifiers/{id} | Delete Modifier |PosApi|modifiers_one|GET/pos/modifiers/{id} | Get Modifier |PosApi|modifiers_update|PATCH/pos/modifiers/{id} | Update Modifier |PosApi|order_types_add|POST/pos/order-types | Create Order Type |PosApi|order_types_all|GET/pos/order-types | List Order Types |PosApi|order_types_delete|DELETE/pos/order-types/{id} | Delete Order Type |PosApi|order_types_one|GET/pos/order-types/{id} | Get Order Type |PosApi|order_types_update|PATCH/pos/order-types/{id} | Update Order Type |PosApi|orders_add|POST/pos/orders | Create Order |PosApi|orders_all|GET/pos/orders | List Orders |PosApi|orders_delete|DELETE/pos/orders/{id} | Delete Order |PosApi|orders_one|GET/pos/orders/{id} | Get Order |PosApi|orders_pay|POST/pos/orders/{id}/pay | Pay Order |PosApi|orders_update|PATCH/pos/orders/{id} | Update Order |PosApi|payments_add|POST/pos/payments | Create Payment |PosApi|payments_all|GET/pos/payments | List Payments |PosApi|payments_delete|DELETE/pos/payments/{id} | Delete Payment |PosApi|payments_one|GET/pos/payments/{id} | Get Payment |PosApi|payments_update|PATCH/pos/payments/{id} | Update Payment |PosApi|tenders_add|POST/pos/tenders | Create Tender |PosApi|tenders_all|GET/pos/tenders | List Tenders |PosApi|tenders_delete|DELETE/pos/tenders/{id} | Delete Tender |PosApi|tenders_one|GET/pos/tenders/{id} | Get Tender |PosApi|tenders_update|PATCH/pos/tenders/{id} | Update Tender |SmsApi|messages_add|POST/sms/messages | Create Message |SmsApi|messages_all|GET/sms/messages | List Messages |SmsApi|messages_delete|DELETE/sms/messages/{id} | Delete Message |SmsApi|messages_one|GET/sms/messages/{id} | Get Message |SmsApi|messages_update|PATCH/sms/messages/{id} | Update Message |VaultApi|connection_settings_all|GET/vault/connections/{unified_api}/{service_id}/{resource}/config | Get resource settings |VaultApi|connection_settings_update|PATCH/vault/connections/{unified_api}/{service_id}/{resource}/config | Update settings |VaultApi|connections_all|GET/vault/connections | Get all connections |VaultApi|connections_delete|DELETE/vault/connections/{unified_api}/{service_id} | Deletes a connection |VaultApi|connections_import|POST/vault/connections/{unified_api}/{service_id}/import | Import connection |VaultApi|connections_one|GET/vault/connections/{unified_api}/{service_id} | Get connection |VaultApi|connections_update|PATCH/vault/connections/{unified_api}/{service_id} | Update connection |VaultApi|consumer_request_counts_all|GET/vault/consumers/{consumer_id}/stats | Consumer request counts |VaultApi|consumers_add|POST/vault/consumers | Create consumer |VaultApi|consumers_all|GET/vault/consumers | Get all consumers |VaultApi|consumers_delete|DELETE/vault/consumers/{consumer_id} | Delete consumer |VaultApi|consumers_one|GET/vault/consumers/{consumer_id} | Get consumer |VaultApi|consumers_update|PATCH/vault/consumers/{consumer_id} | Update consumer |VaultApi|custom_fields_all|GET/vault/connections/{unified_api}/{service_id}/{resource}/custom-fields | Get resource custom fields |VaultApi|logs_all|GET/vault/logs | Get all consumer request logs |VaultApi|sessions_create|POST/vault/sessions | Create Session |WebhookApi|event_logs_all|GET/webhook/logs | List event logs |WebhookApi|webhooks_add|POST/webhook/webhooks | Create webhook subscription |WebhookApi|webhooks_all|GET/webhook/webhooks | List webhook subscriptions |WebhookApi|webhooks_delete|DELETE/webhook/webhooks/{id} | Delete webhook subscription |WebhookApi|webhooks_one|GET/webhook/webhooks/{id} | Get webhook subscription |WebhookApi|webhooks_update|PATCH/webhook/webhooks/{id} | Update webhook subscription |Documentation For ModelsAccountingCustomerAccountingEventTypeActivitiesFilterActivitiesSortActivityActivityAttendeeAddressApiApiResourceApiResourceCoverageApiResourceCoverageCoverageApiResourceLinkedResourcesApiResourcesApiStatusApisFilterApplicantApplicantSocialLinksApplicantWebsitesApplicantsFilterApplicationApplicationStageAssigneeAtsActivityAtsEventTypeAuthTypeBadRequestResponseBalanceSheetBalanceSheetAssetsBalanceSheetAssetsCurrentAssetsBalanceSheetAssetsCurrentAssetsAccountsBalanceSheetAssetsFixedAssetsBalanceSheetAssetsFixedAssetsAccountsBalanceSheetEquityBalanceSheetEquityItemsBalanceSheetFilterBalanceSheetLiabilitiesBalanceSheetLiabilitiesAccountsBankAccountBenefitBillBillLineItemBillsFilterBillsSortBranchCashDetailsCollectionCollectionTagCollectionTicketCommentCollectionUserCollectionsSortCommentsSortCompaniesFilterCompaniesSortCompanyCompanyInfoCompanyRowTypeCompensationConnectionConnectionConfigurationConnectionDefaultsConnectionImportDataConnectionImportDataCredentialsConnectionMetadataConnectionStateConnectionWebhookConnectorConnectorDocConnectorEventConnectorOauthScopesConnectorOauthScopes1ConnectorResourceConnectorSettingConnectorStatusConnectorTlsSupportConnectorUnifiedApisConnectorsFilterConsumerConsumerConnectionConsumerMetadataConsumerRequestCountsInDateRangeResponseConsumerRequestCountsInDateRangeResponseDataContactContactsFilterContactsSortCopyFolderRequestCountryCreateActivityResponseCreateApplicantResponseCreateApplicationResponseCreateBillResponseCreateCommentResponseCreateCompanyResponseCreateConnectionResponseCreateConsumerResponseCreateContactResponseCreateCreditNoteResponseCreateCustomMappingRequestCreateCustomMappingResponseCreateCustomerResponseCreateDepartmentResponseCreateDriveGroupResponseCreateDriveResponseCreateEcommerceCustomerResponseCreateEcommerceOrderResponseCreateEmployeeResponseCreateFileRequestCreateFileResponseCreateFolderRequestCreateFolderResponseCreateHrisCompanyResponseCreateInvoiceItemResponseCreateInvoiceResponseCreateItemResponseCreateJobResponseCreateJournalEntryResponseCreateLeadResponseCreateLedgerAccountResponseCreateLocationResponseCreateMerchantResponseCreateMessageResponseCreateModifierGroupResponseCreateModifierResponseCreateNoteResponseCreateOpportunityResponseCreateOrderResponseCreateOrderTypeResponseCreatePaymentResponseCreatePipelineResponseCreatePosPaymentResponseCreateProductResponseCreatePurchaseOrderResponseCreateSessionResponseCreateSessionResponseDataCreateSharedLinkResponseCreateSupplierResponseCreateTaxRateResponseCreateTenderResponseCreateTicketResponseCreateTimeOffRequestResponseCreateUploadSessionRequestCreateUploadSessionResponseCreateUserResponseCreateWebhookRequestCreateWebhookResponseCreditNoteCreditNotesFilterCreditNotesSortCrmEventTypeCurrencyCustomFieldCustomFieldFinderCustomMappingCustomerCustomersFilterCustomersSortDeductionDeleteActivityResponseDeleteApplicantResponseDeleteApplicationResponseDeleteBillResponseDeleteCommentResponseDeleteCompanyResponseDeleteConsumerResponseDeleteContactResponseDeleteCreditNoteResponseDeleteCustomerResponseDeleteDepartmentResponseDeleteDriveGroupResponseDeleteDriveResponseDeleteEcommerceCustomerResponseDeleteEcommerceOrderResponseDeleteEmployeeResponseDeleteFileResponseDeleteFolderResponseDeleteHrisCompanyResponseDeleteInvoiceItemResponseDeleteInvoiceResponseDeleteItemResponseDeleteJobResponseDeleteJournalEntryResponseDeleteLeadResponseDeleteLedgerAccountResponseDeleteLocationResponseDeleteMerchantResponseDeleteMessageResponseDeleteModifierGroupResponseDeleteModifierResponseDeleteNoteResponseDeleteOpportunityResponseDeleteOrderResponseDeleteOrderTypeResponseDeletePaymentResponseDeletePipelineResponseDeletePosPaymentResponseDeleteProductResponseDeletePurchaseOrderResponseDeleteSharedLinkResponseDeleteSupplierResponseDeleteTaxRateResponseDeleteTenderResponseDeleteTicketResponseDeleteTimeOffRequestResponseDeleteUploadSessionResponseDeleteUserResponseDeleteWebhookResponseDeliveryUrlDepartmentDriveDriveGroupDriveGroupsFilterDrivesFilterEcommerceAddressEcommerceCustomerEcommerceCustomerAddressesEcommerceCustomersFilterEcommerceDiscountEcommerceOrderEcommerceOrderLineItemEcommerceOrderStatusEcommerceOrdersFilterEcommerceProductEcommerceProductCategoriesEcommerceProductImagesEcommerceProductImages1EcommerceProductOptionsEcommerceProductOptions1EcommerceProductVariantsEcommerceStoreEmailEmployeeEmployeeCompensationEmployeeEmploymentRoleEmployeeJobEmployeeListEmployeeManagerEmployeePayrollEmployeeSchedulesEmployeesFilterEmployeesSortEmploymentStatusErrorExecuteBaseUrlExecuteWebhookEventRequestExecuteWebhookEventsRequestExecuteWebhookResponseFileStorageEventTypeFileTypeFilesFilterFilesSearchFilesSortFolderFormFieldFormFieldOptionFormFieldOptionGroupGenderGetActivitiesResponseGetActivityResponseGetApiResourceCoverageResponseGetApiResourceResponseGetApiResponseGetApisResponseGetApplicantResponseGetApplicantsResponseGetApplicationResponseGetApplicationsResponseGetBalanceSheetResponseGetBillResponseGetBillsResponseGetCollectionResponseGetCollectionTagsResponseGetCollectionUserResponseGetCollectionUsersResponseGetCollectionsResponseGetCommentResponseGetCommentsResponseGetCompaniesResponseGetCompanyInfoResponseGetCompanyResponseGetConnectionResponseGetConnectionsResponseGetConnectorResourceExampleResponseGetConnectorResourceExampleResponseDataGetConnectorResourceResponseGetConnectorResourceSchemaResponseGetConnectorResponseGetConnectorsResponseGetConsumerResponseGetConsumersResponseGetConsumersResponseDataGetContactResponseGetContactsResponseGetCreditNoteResponseGetCreditNotesResponseGetCustomFieldsResponseGetCustomMappingResponseGetCustomerResponseGetCustomersResponseGetDepartmentResponseGetDepartmentsResponseGetDriveGroupResponseGetDriveGroupsResponseGetDriveResponseGetDrivesResponseGetEcommerceCustomerResponseGetEcommerceCustomersResponseGetEcommerceOrderResponseGetEcommerceOrdersResponseGetEmployeePayrollResponseGetEmployeePayrollsResponseGetEmployeeResponseGetEmployeeSchedulesResponseGetEmployeesResponseGetFileResponseGetFilesResponseGetFolderResponseGetFoldersResponseGetHrisCompaniesResponseGetHrisCompanyResponseGetHrisJobResponseGetHrisJobsResponseGetInvoiceItemResponseGetInvoiceItemsResponseGetInvoiceResponseGetInvoicesResponseGetItemResponseGetItemsResponseGetJobResponseGetJobsResponseGetJournalEntriesResponseGetJournalEntryResponseGetLeadResponseGetLeadsResponseGetLedgerAccountResponseGetLedgerAccountsResponseGetLocationResponseGetLocationsResponseGetLogsResponseGetMerchantResponseGetMerchantsResponseGetMessageResponseGetMessagesResponseGetModifierGroupResponseGetModifierGroupsResponseGetModifierResponseGetModifiersResponseGetNoteResponseGetNotesResponseGetOpportunitiesResponseGetOpportunityResponseGetOrderResponseGetOrderTypeResponseGetOrderTypesResponseGetOrdersResponseGetPaymentResponseGetPaymentsResponseGetPayrollResponseGetPayrollsResponseGetPipelineResponseGetPipelinesResponseGetPosPaymentResponseGetPosPaymentsResponseGetProductResponseGetProductsResponseGetProfitAndLossResponseGetPurchaseOrderResponseGetPurchaseOrdersResponseGetResourceExampleResponseGetResourceSchemaResponseGetSharedLinkResponseGetSharedLinksResponseGetStoreResponseGetStoresResponseGetSupplierResponseGetSuppliersResponseGetTaxRateResponseGetTaxRatesResponseGetTenderResponseGetTendersResponseGetTicketResponseGetTicketsResponseGetTimeOffRequestResponseGetTimeOffRequestsResponseGetUploadSessionResponseGetUserResponseGetUsersResponseGetWebhookEventLogsResponseGetWebhookResponseGetWebhooksResponseHrisCompanyHrisEventTypeHrisJobHrisJobLocationHrisJobsIdempotencyKeyIntegrationStateInvoiceInvoiceItemInvoiceItemAssetAccountInvoiceItemExpenseAccountInvoiceItemIncomeAccountInvoiceItemSalesDetailsInvoiceItemsFilterInvoiceLineItemInvoiceResponseInvoicesFilterInvoicesSortIssueTrackingEventTypeIssuesFilterItemJobJobLinksJobSalaryJobStatusJournalEntriesFilterJournalEntriesSortJournalEntryJournalEntryLineItemLeadLeadEventTypeLeadsFilterLeadsSortLedgerAccountLedgerAccountCategoriesLedgerAccountParentAccountLedgerAccountsLedgerAccountsFilterLedgerAccountsSortLinkedConnectorResourceLinkedCustomerLinkedEcommerceCustomerLinkedEcommerceOrderLinkedFolderLinkedInvoiceItemLinkedLedgerAccountLinkedParentCustomerLinkedSupplierLinkedTaxRateLinkedTrackingCategoryLinksLocationLogLogOperationLogServiceLogsFilterMerchantMessageMetaMetaCursorsModifierModifierGroupModifierGroupFilterNotFoundResponseNotImplementedResponseNoteOAuthGrantTypeOfferOpportunitiesFilterOpportunitiesSortOpportunityOrderOrderCustomersOrderDiscountsOrderFulfillmentsOrderLineItemsOrderPaymentsOrderPickupDetailsOrderPickupDetailsCurbsidePickupDetailsOrderPickupDetailsRecipientOrderRefundsOrderTendersOrderTypeOwnerPaginationCoveragePassThroughQueryPaymentPaymentAllocationsPaymentCardPaymentFrequencyPaymentRequiredResponsePaymentUnitPaymentsFilterPaymentsSortPayrollPayrollTotalsPayrollsFilterPersonPhoneNumberPipelinePipelineStagesPosBankAccountPosBankAccountAchDetailsPosPaymentPosPaymentCardDetailsPosPaymentExternalDetailsPriceProbationPeriodProfitAndLossProfitAndLossExpensesProfitAndLossFilterProfitAndLossGrossProfitProfitAndLossIncomeProfitAndLossNetIncomeProfitAndLossNetOperatingIncomeProfitAndLossRecordProfitAndLossRecordsProfitAndLossSectionPurchaseOrderPurchaseOrdersFilterPurchaseOrdersSortRequestCountAllocationRequestRateResolveWebhookEventRequestResolveWebhookEventsRequestResolveWebhookResponseResourceExampleResourceStatusScheduleScheduleWorkPatternScheduleWorkPatternOddWeeksSchemaSupportServiceChargeServiceChargesSessionSessionSettingsSessionThemeSharedLinkSharedLinkTargetSimpleFormFieldOptionSocialLinkSortDirectionStatusSupplierSuppliersFilterSuppliersSortSupportedPropertyTagsTaxTaxRateTaxRatesFilterTeamTenderTicketTicketsSortTimeOffRequestTimeOffRequestNotesTimeOffRequestsFilterTooManyRequestsResponseTooManyRequestsResponseDetailTrackingItemUnauthorizedResponseUnexpectedErrorResponseUnifiedApiIdUnifiedFileUnifiedFilePermissionsUnifiedIdUnprocessableResponseUpdateActivityResponseUpdateApplicantResponseUpdateApplicationResponseUpdateBillResponseUpdateCommentResponseUpdateCompanyResponseUpdateConnectionResponseUpdateConsumerRequestUpdateConsumerResponseUpdateContactResponseUpdateCreditNoteResponseUpdateCustomMappingRequestUpdateCustomMappingResponseUpdateCustomerResponseUpdateDepartmentResponseUpdateDriveGroupResponseUpdateDriveResponseUpdateEcommerceCustomerResponseUpdateEcommerceOrderResponseUpdateEmployeeResponseUpdateFileRequestUpdateFileResponseUpdateFolderRequestUpdateFolderResponseUpdateHrisCompanyResponseUpdateInvoiceItemsResponseUpdateInvoiceResponseUpdateItemResponseUpdateJobResponseUpdateJournalEntryResponseUpdateLeadResponseUpdateLedgerAccountResponseUpdateLocationResponseUpdateMerchantResponseUpdateMessageResponseUpdateModifierGroupResponseUpdateModifierResponseUpdateNoteResponseUpdateOpportunityResponseUpdateOrderResponseUpdateOrderTypeResponseUpdatePaymentResponseUpdatePipelineResponseUpdatePosPaymentResponseUpdateProductResponseUpdatePurchaseOrderResponseUpdateSharedLinkResponseUpdateSupplierResponseUpdateTaxRateResponseUpdateTenderResponseUpdateTicketResponseUpdateTimeOffRequestResponseUpdateUploadSessionResponseUpdateUserResponseUpdateWebhookRequestUpdateWebhookResponseUploadSessionUrlUserVaultEventTypeVirtualWebhooksWalletDetailsWebhookWebhookEventWebhookEventLogWebhookEventLogAttemptsWebhookEventLogServiceWebhookEventLogsFilterWebhookEventLogsFilterServiceWebhookEventTypeWebhookSubscriptionWebhookSupportWebsiteDocumentation For AuthorizationapiKeyType: API keyAPI key parameter name: AuthorizationLocation: HTTP headerapplicationIdType: API keyAPI key parameter name: x-apideck-app-idLocation: HTTP headerconsumerIdType: API keyAPI key parameter name: x-apideck-consumer-idLocation: HTTP headerAuthorNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in apideck.apis and apideck.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from apideck.api.default_api import DefaultApifrom apideck.model.pet import PetSolution 2:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
import apideck
from apideck.apis import *
from apideck.models import *