Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/informatiqal/qlik-proxy-api
Package to interact with Qlik Sense Proxy API (QSEoW)
https://github.com/informatiqal/qlik-proxy-api
Last synced: about 2 months ago
JSON representation
Package to interact with Qlik Sense Proxy API (QSEoW)
- Host: GitHub
- URL: https://github.com/informatiqal/qlik-proxy-api
- Owner: Informatiqal
- License: mit
- Created: 2021-07-11T06:01:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T22:01:05.000Z (2 months ago)
- Last Synced: 2024-10-30T00:38:11.276Z (2 months ago)
- Language: TypeScript
- Homepage: https://informatiqal.com/qlik-proxy-api/
- Size: 936 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Qlik Sense Proxy API
![Mocha](https://badges.aleen42.com/src/mocha.svg) ![Badge](./test/badge.png) [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/T6T0148ZP)
Node.js package to interact with Qlik Sense Proxy API (QSEoW)
---
## Please check out the [Wiki section](https://github.com/Informatiqal/qlik-proxy-api/wiki) for details and examples
---
## Installation
`npm install --save qlik-proxy-api`
> **Note**
> Node version >= 16.0.0## Usage
(Using certificates as authentication method)
```javascript
import fs from "fs";
import https from "https";
import { QlikProxyApi } from "qlik-proxy-api";// setup the httpsAgent
// - read the certificates
// - ignore certificate errors
const httpsAgentCert = new https.Agent({
rejectUnauthorized: false,
cert: fs.readFileSync(`path/to/client.pem`),
key: fs.readFileSync(`path/to/client_key.pem`),
});// create new instance or qlik-proxy-api
const proxyApi = new QlikProxyApi.client({
host: "my-qs-host",
port: 4243, // optional. default is 4243
httpsAgent: httpsAgentCert,
authentication: {
user_dir: "SOME_USER_DIR",
user_name: "SOME_USER_ID",
},
});// create new session for "USER_DIR\USER_ID" in the default virtual proxy
const session = await proxyApi.sessions.add("USER_ID", "USER_DIR");console.log(session.details.SessionId);
```## Methods
Developer documentation for all methods can be found [here](https://informatiqal.github.io/qlik-proxy-api/modules.html) for list of methods
---
## **NOT AFFILIATED WITH QLIK**