CData Python Connector for MYOB

Build 24.0.9060

Connecting

Connecting with the cdata.myob Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.myob as mod
conn = mod.connect(" If using an online instance: InitiateOAuth=GETANDREFRESH;OAuthClientId=YourClientId;OAuthClientSecret=YourClientSecret;CompanyFileId=yourCompanyFileId;CallbackURL=http://localhost:33333;User=companyFileUser;Password=companyFilePassword; If using an on premise instance: InitiateOAuth=OFF;URL=http://localhost:8080/accountright;CompanyFileId=327eed10-9615-4e5e-bd9e-ae2cc00e2c70;User=companyFileUser;Password=companyFilePassword;")

Once the connection is created, you can use it to execute subsequent SQL queries.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060