Skip to main content

A Python library to interact with Qliksense.

Project description

qlikconnect

qlikconnect is the python library used to interact with Qliksense.It uses qlik engine API to connect with Qliksense through webocket. This module can be use to do things like fetch qlik charts data, evaluate your expression through this and many more.

Installation

Installation is pretty straightforward using pip :

pip install qlikconnect

Example

After installing the library, import SenseConnect class as below:
For Localhost Qliksense Desktop :

from qlikconnect import SenseConnect
sc = SenseConnect()

For **Enterprise **, certificate details will be required:

from qlikconnect import SenseConnect
sc = SenseConnect(domain ='domain_name',
				port='port_number',
				userdirectory='userdirectory',
				userid='userid',
				certPath='folder/path/of/certificates') 

Certificates also required named 'root.pem', 'client.pem' and 'client_key.pem' which can be exported from qmc.
Also you can get the port(4747 by default), userdirectory and userid from qmc.


Use Case

  • To get the app details : sc.get_list_of_apps(appID)
  • To get last refreshed timestamp of an app : sc.get_last_updated_status(appname)
  • To evaluate an expression from an app : sc.evaluate_expression(appname, expression,e_o_d=0)
  • To export the data from charts to excel : sc.export_data(appname, chartname)

Requirement

> websocket_client
> python 3 (3.6 recommended)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qlikconnect-1.0.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

qlikconnect-1.0.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page