Connecting
Connecting with the cdata.saparibasource 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.saparibasource as mod conn = mod.connect("API=SupplierDataAPIWithPagination-V4;APIKey=wWVLn7WTAXrIRMAzZ6VnuEj7Ekot5jnU;Environment=SANDBOX;Realm=testRealm;AuthScheme=OAuthClient;InitiateOAuth=GETANDREFRESH;OAuthClientId=testClient;OAuthClientSecret=testClientSecret;")
Once the connection is created, you can use it to execute subsequent SQL queries.