Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
neha_sri
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
tush
Creator II
Creator II

Hi,

     Please go to below link:-

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

 

Thanks

Tushar

Shubham_Deshmukh
Specialist
Specialist

Can you share exact requirements?

mayuringale25
Partner - Creator
Partner - Creator

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