Socket
Socket
Sign inDemoInstall

@00f100/pbie-node

Package Overview
Dependencies
202
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@00f100/pbie-node

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


Version published
Maintainers
1
Weekly downloads
7
increased by600%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 27 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc