The purpose of this scraper is to get all KPI's from QlickSense dashboard in json format.
Inputs: url: expected qlicksense UI url
Sample Input
curl --request GET --url 'http://localhost:3000/qlicksense'
sh runQlickSense.sh
Sample Output
{
"kpi1":"value1",
"kpi2":"value2",
"kpi3":"value3",
"kpi4":"value4"
}
Install NodeJs, NPM or PM2
- Install dependencies
npm install
- Run Server
pm2 start server.js --name 'Scraper'
npm start
- Build
docker build -t scarper .
- Run/Start
docker run -p 3000:3000 scraper
You can browse the apis at http://localhost:3000
- Hariom Vashisth