Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
BAMPaulP
Contributor II
Contributor II

Qliksense QRS APi

Is there a qrs api for the extraction of Qliksense Scripts? I am trying to extract all application scripts to text documents so that I can search over them using python to extract the from statements. This will allow me to isolate app dependencies to make schedule building easier.

 

Thanks,

 

Paul

1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

To call engine endpoints you need to setup a websocket connection to the engine. The API is based on JSON-RPC and you can find some introduction to that here:

https://community.qlik.com/t5/Qlik-Design-Blog/Let-s-Dissect-the-Qlik-Engine-API-Part-1-RPC-Basics/b...

But typically people use predefined libraries for this access such as enigma for javascript or the .NET SDK for C#:

https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/APIs/Content/Sense_ClientAPIs/enigmaj...
https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPI/Content/Sense_NetSDKAPI/Int...

A simple example for connecting using C# can be found here:

https://github.com/AptkQlik/PublicExamples/blob/master/ConnectServerNTLM/ConnectServerNTLM/Program.c...

View solution in original post

4 Replies
Øystein_Kolsrud
Employee
Employee

Do you mean the app load scripts? This you will have to get through the engine API:

https://help.qlik.com/en-US/sense-developer/May2021/APIs/EngineAPI/services-Doc-GetScript.html

BAMPaulP
Contributor II
Contributor II
Author

I looked at that, the issue is that the documentation is so sparse, I haven't been able to get it working in practice. Do you  have any examples of how one would put it into practice.  Normal API documentation will give you the url structure for a web call, this documentation does not.

Øystein_Kolsrud
Employee
Employee

To call engine endpoints you need to setup a websocket connection to the engine. The API is based on JSON-RPC and you can find some introduction to that here:

https://community.qlik.com/t5/Qlik-Design-Blog/Let-s-Dissect-the-Qlik-Engine-API-Part-1-RPC-Basics/b...

But typically people use predefined libraries for this access such as enigma for javascript or the .NET SDK for C#:

https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/APIs/Content/Sense_ClientAPIs/enigmaj...
https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPI/Content/Sense_NetSDKAPI/Int...

A simple example for connecting using C# can be found here:

https://github.com/AptkQlik/PublicExamples/blob/master/ConnectServerNTLM/ConnectServerNTLM/Program.c...

BAMPaulP
Contributor II
Contributor II
Author

Thanks, for others the package I will be using is websockets. This is a python package. I will be using NTLM to create the session authorization.