qrs-interact

6.3.1 • Public • Published

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);
    });

Readme

Keywords

none

Package Sidebar

Install

npm i qrs-interact

Weekly Downloads

10

Version

6.3.1

License

ISC

Unpacked Size

60.6 kB

Total Files

9

Last publish

Collaborators

  • goldbergjeffrey
  • jesseparis
  • eapowertools