qrs-interact

A small javascript library to interact with the Qlik Sense Repository Service


License
ISC
Install
npm install qrs-interact@4.0.1

Documentation

Status

Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows. CircleCI
NPM

qrs-interact

QRS Interact is a simple javascript library that allows users to send queries to the Qlik Sense Repository Service.

Getting Started

For more information and advanced usage, please reference the wiki.

Installing

npm install qrs-interact

Usage

To use the qrs-interact module, first you must create a new instance.

var instance = new qrsInteract('<someHostname>');

Once you have initialized an instance, GET, POST, PUT, and DELETE all return promises. They can be used as follows.

instance.Get('<somePath>')
    .then(function(result)
    {
        // do some work
    })
    .catch(function(error)
    {
        // catch the error
    });
Example
var qrsInteract = require('qrs-interact');

var instance1 = new qrsInteract("abc.qlik.com");

instance1.Get('about')
    .then(function(result)
    {
        console.log(result);
    })
    .catch(function(error)
    {
        console.log(error);
    });