CData Python Connector for OneNote

Build 21.0.7930

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy.

from sqlalchemy import create_engine
engine = create_engine("onenote:///?InitiateOAuth=GETANDREFRESH;OAuthClientId=MyApplicationId;OAuthClientSecret=MySecretKey;CallbackURL=http://localhost:33333;")

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