Establishing a Connection
The objects available within our connector are accessible from the "cdata.ebay" module. In order to use the module's objects directly, the module must first be imported as below:
import cdata.ebay as mod
From there, the connect() method can be called from the connector object to establish a connection using an appropriate connection string, such as the below:
Connecting to eBay APIs
By default, the provider connects to production environments. Set UseSandbox to true to use a eBay sandbox account.
Authenticating to eBay
eBay uses the OAuth 2.0 authentication standard and the Auth'n'Auth, the traditional authentication used by the eBay APIs. To authenticate using OAuth or Auth'n'Auth, depending on how your app is configured, you will need to create an app to obtain the OAuthClientId, OAuthClientSecret, DevID, and CallbackURL connection properties. See Using OAuth Authentication for an authentication guide.