{"id":21823506,"url":"https://github.com/infusion-code/powerbi-ng2","last_synced_at":"2025-07-25T14:12:47.416Z","repository":{"id":57329115,"uuid":"84595649","full_name":"infusion-code/powerbi-ng2","owner":"infusion-code","description":"Angular2 components for enumerating, rendering and interacting with reports hosted in an Azure PowerBI Embed workspace.","archived":false,"fork":false,"pushed_at":"2017-07-24T17:32:53.000Z","size":143,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T04:40:10.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infusion-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-10T19:52:10.000Z","updated_at":"2018-05-18T07:36:15.000Z","dependencies_parsed_at":"2022-08-29T10:01:50.365Z","dependency_job_id":null,"html_url":"https://github.com/infusion-code/powerbi-ng2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion-code%2Fpowerbi-ng2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion-code%2Fpowerbi-ng2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion-code%2Fpowerbi-ng2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion-code%2Fpowerbi-ng2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infusion-code","download_url":"https://codeload.github.com/infusion-code/powerbi-ng2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248821636,"owners_count":21166917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T17:32:52.816Z","updated_at":"2025-04-14T04:30:46.771Z","avatar_url":"https://github.com/infusion-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![npm version](https://badge.fury.io/js/powerbi-ng2.svg)](https://www.npmjs.com/package/powerbi-ng2) ![powerbi-ng2](https://img.shields.io/npm/dm/powerbi-ng2.svg) [![All Contributors](https://img.shields.io/badge/all_contributors-3-green.svg?style=flat-square)](#contributors)\n\n# Overview\nAngular components for enumerating, rendering and interacting with reports hosted in an Azure PowerBI Embed workspace. This package will work with both ng2 and ng4.\n\n# Install\nInstall via npm:\n\n```\n    npm install --save powerbi-ng2\n```\n\n# Use\nImport the module into your main module (generally app.module.ts):\n\n```\n    import { PowerBIModule, ReportsListServiceConfig } from 'powerbi-ng2';\n\n    let _reportsListAPIEndPoint: string = \"end point of your reports list Web API enumerating the reports and providing accesss tokens\";\n\n    const config:ReportsListServiceConfig = {\n        WebAPIServiceUrl: 'end point of your reports list Web API enumerating the reports and providing accesss tokens'\n    };\n\n    @NgModule({\n        bootstrap: [ ... ],\n        declarations: [\n            ...\n        ],\n        imports: [\n            PowerBIModule.forRoot(config)\n            ...\n        ]\n    })\n```\n\u003e \u003cb\u003eNote:\u003c/b\u003e This module depends on the [Microsoft PowerBIEmbed Javascript API](https://github.com/Microsoft/PowerBI-JavaScript). Version 2.3.2 and 2.3.3 introduced naming based incompatibilities [See Issue #225](https://github.com/Microsoft/PowerBI-JavaScript/issues/225). Therefore, the module requires 2.3.4 or higher as a dependency. \n\n\u003e \u003cb\u003eNote:\u003c/b\u003e If you use this module in conjunction with Universal (ng2), make sure to include PowerBIModule before UniversalModule as there is a conflict between the standard ng http module imported by it and the ony used by Universal. See [https://github.com/angular/universal-starter/issues/167] and [https://github.com/angular/universal/issues/536#issuecomment-247762794] for more information.\n\nUse the various components inside your angular components. Use the ReportsListService to get a list of available reports from your workspace for navigation purposes and to get embed tokens for a particular report (alternatives, you can use the ReportsList component for that purpose).\n\nNote that the components depend on a service endpoint (_reportsListAPIEndPoint above) for enumreation of reports and token generation. See [Sample Report Service](samples/ReportingApi) for a sample implementation of such a service using .NET Web Api 2.0. \n\n# Advanced\nCheck out the [Wiki](../../wiki) for detailed documentation on components, models and providers.\nSDK documentation for this project is availabel at [https://infusion-code.github.io/powerbi-ng2/](https://infusion-code.github.io/powerbi-ng2/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfusion-code%2Fpowerbi-ng2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfusion-code%2Fpowerbi-ng2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfusion-code%2Fpowerbi-ng2/lists"}