Connecting with the cdata.googleanalytics Module:
The connector's module is used directly to establish a connection with the data source. It is able to take a connection string as its argument, as in the below example:
import cdata.googleanalytics as mod conn = mod.connect("InitiateOAuth=GETANDREFRESH;Profile=myProfile;") cur = conn.cursor()
Once the connection is created, you can execute subsequent SQL queries using the connection's cursor object.