Python Connector for CData Connect

Build 23.0.8839

Establishing a Connection

The objects available within our connector are accessible from the "cdata.connect" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.connect as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("AuthScheme=basic;URL=http://hostname:port/rest.rsc;User=my_user;Password=my_password;")

Connecting to CData Connect Cloud

Follow these steps to connect to CData Connect Cloud:

  1. AuthScheme: Select OAuth.
  2. Click Test Connection or Sign In to open the OAuth sign in page.
  3. Enter your CData Connect Cloud credentials and sign in.

Connecting to CData Connect Server

Enter following connection properties to connect to CData Connect Server:

  • AuthScheme: Select Basic.
  • URL: The REST URL found on the Endpoints page of the Admin Console.
  • User: A user that you configured in the Connect Server dashboard.
  • Password: The AuthToken for the chosen user.

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