powerbi-adapter
v1.0.9
Published
Power BI Rest API Adapter
Downloads
9
Readme
Power BI Adapter
Power BI Adapter provides a simple NodeJS API construct to interact with PowerBI Rest APIs
Installation
npm i powerbi-adapter
Usage
const PowerBI = require("powerbi-adapter")
let credentials = {
"clientId": "<specify client id here>",
"username": "<specify username here>",
"password": "<specify password here>"
}
let options = {}
let powerBI = new PowerBI(credentials, options)
// query available groups in Power BI
powerBI.groups()
.then (groups => {
console.log(groups)
})
.catch(err => {
// handle err
console.error(err)
})