{"repo":"andrewvillazon/pbipy","free":true,"listed":false,"github":"https://github.com/andrewvillazon/pbipy","clone":"git clone https://github.com/andrewvillazon/pbipy.git","description":"A Python Library for interacting with the Power BI Rest API","language":"Python","stars":102,"topics":["powerbi","python","python3","rest-api"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"pbipy pbipy is a Python Library for interacting with the Power BI Rest API. It aims to simplyify working with the Power BI Rest API and support programatic administration of Power BI in Python. pbipy supports operations for Apps, Dataflows, Datasets, Gateways, Imports, Reports, and Workspaces (Groups), allowing users to perform actions on their PowerBI instance using Python. Installation Or to install the latest development code: Getting Started: Authentication To use pbipy you'll first need to acquire a bearer token . How do I get a bearer token ? To acquire a bearer token you'll need to authenticate against your Registered Azure Power BI App. Registering is the first step in turning on the Power BI Rest API, so from here on it's assumed your Power BI Rest API is up and running. To authenticate against the Registered App, Microsoft provides the MSAL and azure-identity python libraries. These libraries support different ways of acquiring a bearer token and which to use will depend on how your cloud/tenant is configured. Because there are multiple ways to acquire the token, pbipy leaves it up to the user do this in the way that suits, rather than directly handling authentication (of course, this might change in future). This README doesn't cover authentication in detail, however, these are some helpful resources that look at acquiring a bearer token in the context of Power BI: Power BI REST API with Python and MSAL. Part II. Power BI REST API with Python Part III, azure-identi","default_branch":null,"files":null,"tree":[],"storefront":"/r/andrewvillazon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andrewvillazon/pbipy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}