@00f100/pbie-node
NodeJS library written in typescript and designed for using PowerBI embedded reports.
Last updated 3 months ago by 00f100 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @00f100/pbie-node 
SYNC missed versions from official npm registry.

pbie-node

NodeJS library written in typescript and designed for using PowerBI embedded reports.

Inspired on Power BI API Code Samples

Installation

>> npm i -s @mend3/pbie-node

Testing

>> npm test

Getting Started

After installation, create or update your .env file.

PBIE_APP_ID="your_app_id"
PBIE_WORKSPACE_ID="your_workspace_id"
PBIE_REPORT_ID="your_report_id"
PBIE_USERNAME="your_powerbi_user"
PBIE_PASSWORD="your_powerbi_password"

Getting access token

const { accessToken } = await getAuthToken();

Getting embed token for report

const { token } = await generateEmbedToken(reportId);

Getting embed token with roles for report

const { token } = await generateEmbedTokenWithRls(reportId, username, roles);

Issues

Repo Issues

Power BI Support Page

Power BI Ideas

Current Tags

  • 1.3.1                                ...           latest (3 months ago)

7 Versions

  • 1.3.1                                ...           3 months ago
  • 1.3.0                                ...           3 months ago
  • 1.2.2                                ...           4 months ago
  • 1.2.1                                ...           4 months ago
  • 1.2.0                                ...           4 months ago
  • 1.1.0                                ...           4 months ago
  • 1.0.1                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 7
Last Month 21
Dependencies (4)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |