CData Python Connector for Pinterest

Build 20.0.7745

Establishing a Connection

The objects available within our connector are accessible from the "cdata.pinterest" module. In order to use the module's objects directly, the module must first be imported as below:

import cdata.pinterest 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 Pinterest

Pinterest authentication is based on the standard OAuth flow. To authenticate, you must initially create an app via the Pinterest developer's platform where you can obtain an OAuthClientId, OAuthClientSecret, and CallbackURL.

InitiateOAuth to GETANDREFRESH, OAuthClientId, OAuthClientSecret, and CallbackURL parameters will be set as connection properties to your driver.

See Using OAuth Authentication for other OAuth authentication flows.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7745