Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Microsoft/PowerBI-JavaScript
JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
https://github.com/Microsoft/PowerBI-JavaScript
Last synced: about 2 months ago
JSON representation
JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
- Host: GitHub
- URL: https://github.com/Microsoft/PowerBI-JavaScript
- Owner: microsoft
- License: other
- Created: 2015-09-28T21:59:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-11T21:52:15.000Z (3 months ago)
- Last Synced: 2024-07-28T10:47:27.506Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://microsoft.github.io/PowerBI-JavaScript
- Size: 34.7 MB
- Stars: 1,042
- Watchers: 154
- Forks: 455
- Open Issues: 76
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-power-bi - Power BI Javascript
README
# powerbi-client
A client side library for embedding Power BI using JavaScript or TypeScript into your apps.[![Build Status](https://img.shields.io/travis/Microsoft/PowerBI-JavaScript/master.svg)](https://travis-ci.org/Microsoft/PowerBI-JavaScript)
[![NPM Version](https://img.shields.io/npm/v/powerbi-client.svg)](https://www.npmjs.com/package/powerbi-client)
[![Nuget Version](https://img.shields.io/nuget/v/Microsoft.PowerBI.JavaScript.svg)](https://www.nuget.org/packages/Microsoft.PowerBI.JavaScript/)
[![NPM Total Downloads](https://img.shields.io/npm/dt/powerbi-client.svg)](https://www.npmjs.com/package/powerbi-client)
[![NPM Monthly Downloads](https://img.shields.io/npm/dm/powerbi-client.svg)](https://www.npmjs.com/package/powerbi-client)
[![GitHub tag](https://img.shields.io/github/tag/microsoft/powerbi-javascript.svg)](https://github.com/Microsoft/PowerBI-JavaScript/tags)
[![Gitter](https://img.shields.io/gitter/room/Microsoft/PowerBI-JavaScript.svg)](https://gitter.im/Microsoft/PowerBI-JavaScript)## Documentation
See the [Power BI embedded analytics Client APIs documentation](https://docs.microsoft.com/javascript/api/overview/powerbi/) to learn how to embed a Power BI report in your application and how to use the client APIs.## Reference
See the [library reference](https://docs.microsoft.com/en-us/javascript/api/powerbi/powerbi-client/) for detailed information about classes, interfaces, types, etc.## Playground
The [playground](https://aka.ms/pbieplayground) is the home for Power BI embedded analytics, where you can get hands-on coding experience, embed your own reports, and interact with our client APIs to see instant results. In addition, you’ll find there our interactive showcases to get inspiration regarding how you can apply these features in your applications. Lastly, we’ve created a new learning center to help you find all the relevant samples, tutorials, and documentation you’ll need for a successful integration.## Installation
Install via Nuget:
`Install-Package Microsoft.PowerBI.JavaScript`
Install from NPM:
`npm install --save powerbi-client`
Installing beta versions:
`npm install --save powerbi-client@beta`
## Include the library via import or manually
Ideally you would use a module loader or a compilation step to import using ES6 modules as:
```javascript
import * as pbi from 'powerbi-client';
```However, the library is exported as a Universal Module and the powerbi.js script can be included before your app's closing `