node-bi

1.2.17 • Public • Published

node-bi

getting started

Use the PowerBi API and create your own Data Schema.

var myClientId = 'Set your client id here',
    appConfig = {
      "oAuth": {
        "clientId": myClientId,
        "uri": "login.windows.net",
        "port": 443,
        "path": "/common/oauth2/token",
        "resourceUri": "https://analysis.windows.net/powerbi/api"
      },
      "powerBi": {
        "uri": "api.powerbi.com",
        "port": 443,
        "path": "/v1.0/myorg/datasets"
      }
    },
    dtoScheme = { ... },
    powerBiService = new require('node-bi')(appConfig, dtoScheme);
    
powerBiService.login( <username>, <password>, function() {
 
    powerBiService.sendData( <data> );
 
});

Dependents (0)

Package Sidebar

Install

npm i node-bi

Weekly Downloads

0

Version

1.2.17

License

none

Last publish

Collaborators

  • thomas3577
  • vgenev