Power BI API Admin to extract data of use metricts!
Project description
Power BI Admin API
Use scorb functionalities in your python application.
Instalation
pip install power-bi-api-admin
Configuration
Environment variables
To use power-bi-api-admin, you need to set two environment variables:
# ---DOTENV EXAMPLE---
PBI_TENANT_ID = #Your TENANT_ID
PBI_CLIENT_ID = #Your CLIENT_ID
PBI_SECRET = #Your SECRET
PBI_BASE_URL = "https://api.powerbi.com/v1.0/myorg/admin"
Usage Example
You can use power-bi-api-admin in order to read registers.
List registers
You can use get methods to list registers of system table. See the following example:
from power_bi_api import PowerBiApp
# Instantiate PowerBiApp client object
client = PowerBiApp()
#Get the app controller
client_app = client.app
#Call the method thats return data from api
apps_data = client_app.get_apps().get("value")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for power_bi_api_admin-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4196b82be10f64c841d6660648b5ca0c77be804ee07a2a09b718aa596d988b37 |
|
MD5 | 6eed3fc39741b16fed5750abf2e620ca |
|
BLAKE2b-256 | ffcdedb10eb1a86dc44425a53762db4703abd0b2877bc65640706da0f7ea221d |