Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

Qliksense and python

Hi All,

I have qliksense and python , I want to know how I can add value to my user using these 2 tools?

 

Regards,

neha

 

3 Replies
Highlighted
Creator II
Creator II

Re: Qliksense and python

Hi,

     Please go to below link:-

https://www.youtube.com/watch?v=4HiUXb2Jraw

 

Thanks

Tushar

Highlighted
Specialist
Specialist

Re: Qliksense and python

Can you share exact requirements?

Highlighted
Partner
Partner

Re: Qliksense and python

Hi,

Connect QlikSense with Python

from websocket import create_connection
import ssl


senseHost = "HOST1"
privateKeyPath = "/Users/ABC"


## userDirectory and userId can be found at QMC -> Users
userDirectory, userId = "DIR", "user1"

url = "wss://" + senseHost + ":443/app" # valid
certs = ({"ca_certs": privateKeyPath + "root.pem",
"certfile": privateKeyPath + "client.pem",
"keyfile": privateKeyPath + "client_key.pem",
"cert_reqs": ssl.CERT_NONE,
"server_side": False
})
ssl.match_hostname = lambda cert, hostname: True
ws = create_connection(url, sslopt=certs,
header={'X-Qlik-User: UserDirectory=%s; UserId=%s' % (userDirectory, userId)})

print ("connetced")

session = ws.recv()

print (session)

 

Thanks and Regards

Mayur Ingale

Thanks and Regards
Mayur Ingale