Connecting with the cdata.paypal 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.paypal as mod conn = mod.connect("Schema=REST;InitiateOAuth=GETANDREFRESH;OAuthClientId=ClientId;OAuthClientSecret=ClientSecret; UseSandbox=true;")
Once the connection is created, you can execute subsequent SQL queries using it.