AnalyticsClient provides the python based language binding to the
https based API of Zoho Analytics.
|
__init__(self,
client_id,
client_secret,
refresh_token)
Creates a new AnalyticsClient instance. |
source code
|
|
|
|
|
|
|
|
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
|
dictionary
|
|
dictionary
|
|
|
set_proxy(self,
proxy_host,
proxy_port,
proxy_user_name,
proxy_password)
Internal method to handle proxy details. |
source code
|
|
|
send_batch_import_api_request(self,
request_url,
config,
request_headers,
file_path,
batch_size,
tool_config) |
source code
|
|
|
send_import_api_request(self,
request_url,
config,
request_headers,
file_path,
data=None)
Internal method to handle HTTP request. |
source code
|
|
|
submit_import_request(self,
request_url,
parameters,
request_headers={ } ,
access_token=None,
files=None)
Internal method to send request to server. |
source code
|
|
|
send_export_api_request(self,
request_url,
config,
request_headers,
file_path)
Internal method to handle HTTP request. |
source code
|
|
|
submit_export_request(self,
request_url,
parameters,
request_headers={ } ,
access_token=None)
Internal method to send request to server. |
source code
|
|
|
send_api_request(self,
request_method,
request_url,
config,
request_headers,
is_json_response=True)
Internal method to handle HTTP request. |
source code
|
|
|
submit_request(self,
request_method,
request_url,
parameters,
request_headers={ } ,
access_token=None)
Internal method to send request to server. |
source code
|
|
|
get_request_obj(self)
Internal method for getting OAuth token. |
source code
|
|
|
is_oauth_expired(self,
resp_obj)
Internal method to check whether the accesstoken expired or not. |
source code
|
|
|
regenerate_analytics_oauth_token(self)
Internal method for getting OAuth token. |
source code
|
|