CData Python Connector for FreshBooks

Build 20.0.7587

Establishing a Connection

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

import cdata.freshbooks 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:

mod.connect("InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;CallbackURL=http://localhost:33333")

Authenticating to FreshBooks

FreshBooks uses the OAuth authentication standard. To authenticate using OAuth, you will need to create an app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties. See Using OAuth Authentication for an authentication guide.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587