Qlik Community

Ask a Question

Integration, Extension & APIs

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

Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

qlik sense with python


I am trying to integrate qlik sense with python.I wanted to know does app id change during import and export or just only when we publish the app?

Any reference regarding app ids and how the  backend process works is highly appreciable

Labels (5)
2 Replies
Master II
Master II

What are you trying to achieve?


Are you using python in script or SSE ?

Learning never stops.

refer this code

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