redash-in-js
November 30, 2022 ยท View on GitHub
Redash in JavaScript - run query in multiple envs
Getting Started
- Clone
- move to node version that found in the
.nvmrcfile - copy
env.example.jstoenv.js - Set the urls, token (token can be found in the profile page in redash) and data source id
- run
npm i - run
node index.js "<query>"
In case you have other envs you need to change throughout the code (In the future I want to make it configurable)
I need to publish this as an NPM package, I'll try to do it when I have time