Skip to main content

A Python library for working with the Power BI API

Project description

PowerBI-API-Python

This python package consists of helper functions for working with the Power BI API. To use this first make sure you have a Service Principal set up in Azure that has access to Power BI API. This guide shows how to set up a SP App.

Basic Usage

Install using pip

pip install pbiapi

Add the client to your project with:

from pbiapi import PowerBiApiClient

Initiate the client by running:

pbi_client = PowerBiApiClient( 
    <Tenant Id>,
    <Application Id>,
    <Service Principal Secret>
    )

You can then get all the workspaces the Service Principal is admin of by running:

pbi_client.getWorkspaces()
pbi_client.workspaces

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pbiapi, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pbiapi-0.0.2-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pbiapi-0.0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page