CData Python Connector for Square

Build 24.0.9060

Connecting

Connecting with the cdata.square 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.square as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;OAuthClientId=MyApplicationId;OAuthClientSecret=MyApplicationSecret;CallbackURL=http://localhost:33333;LocationId=MyDefaultLocation")

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