CData Python Connector for Reckon Accounts Hosted

Build 23.0.8839

接続

Dialect URL での接続

SQLAlchemy を使用して接続を確立するには、特定のURL 形式が必要です。
from sqlalchemy import create_engine
engine = create_engine("reckonaccountshosted:///?SubscriptionKey=test;CountryVersion=2021.R2.AU;CompanyFile=Q:/CData Software.QBW;User=test;Password=test;InitiateOAuth=GETANDREFRESH;CallbackURL=http://localhost:33333;OAuthClientId=MyOAuthClientID;OAuthClientSecret=MyOAuthClientSecret;")

SQLAlchemy 2.0 では、方言名はreckonaccountshosted_2 です。接続を確立するには、以下のURL 形式を使用します。

from sqlalchemy import create_engine
engine = create_engine("quickbooks_2:///?User=test;Password=test;URL=http://localhost:8166;")

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