接続の確立
The objects available within our connector are accessible from the "cdata.zohobooks" module. In order to use the module's objects directly, the module must first be imported as below:
import cdata.zohobooks as mod
From there, the connect() method can be called from the connector object to establish a connection using an appropriate connection string, such as the below:
mod.connect("InitiateOAuth=GETANDREFRESH;OrganizationId=YourOrganizationId;AccountsServer=YourAccountServerURL")
Authenticating to Zoho Books
Zoho Books uses the OAuth authentication standard. To authenticate using OAuth, you will need to create an app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties. See OAuth 認証の使用 for an authentication guide.