CData Python Connector for OneNote

Build 21.0.7930

Connecting

Connecting with the cdata.onenote Module:

The connector's module is used directly to establish a connection with the data source. It is able to take a connection string as its argument, as in the below example:

import cdata.onenote as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;OAuthClientId=MyApplicationId;OAuthClientSecret=MySecretKey;CallbackURL=http://localhost:33333;")

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

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930