powerbi-adapter

1.0.9 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i powerbi-adapter

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

30.3 kB

Total Files

13

Last publish

Collaborators

  • ashishjain