Qlik Community

Ask a Question

Integration, Extension & APIs

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

Announcements
LINKEDIN LIVE: Democratizing data to enhance customer-centricity. JULY 29TH REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Kushal_Chawda

How to connect to engine api to get the data

Hi All,

I have requirement where I want to extract the list of measure from Qlik sense app. I know it is possible by connecting to qlik engine api, but I am not sure how do I do it. I have a code as well but don't know how to run and get the data. I am new to this api world. If someone can help me with step by step guide it will be helpful

Labels (4)
6 Replies
yko
Employee
Employee

From what kind of environment do you want to connect? Is it from a webpage? If so, then you might want to start here:

https://help.qlik.com/en-US/sense-developer/June2019/Subsystems/Mashups/Content/Sense_Mashups/mashup...

If you want to build a stand alone tool, then you might want to have a look here:

https://help.qlik.com/en-US/sense-developer/June2019/Subsystems/NetSDKAPI/Content/Sense_NetSDKAPI/In...

aaz
Employee
Employee

Kushal_Chawda
Author

Hi Thanks for your reply. Can I use REST Api or web connector to connect to api?

yko
Employee
Employee

No, the engine service uses websockets for communication.

Kushal_Chawda
Author

So can you tell me how do I connect? I mean steps. Where I can run the code and which code etc etc
yko
Employee
Employee

You can find examples for how to connect from C# in this repository:

https://github.com/AptkQlik/PublicExamples

The exact mechanism to use depends on the configuration of the Qlik Sense installation you are connecting to, but typically you can use your Windows credentials to connect. In that case this is the project you should look at:

https://github.com/AptkQlik/PublicExamples/tree/master/ConnectServerNTLM