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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915c5d5a53a367705988e474d74f7574aa0e021e421831521b1238f38dde9891 |
|
MD5 | 813f9e7aa9d80e716729e5829c7158aa |
|
BLAKE2b-256 | 4a9ecf70b1659bf62abed4b1f692014abfbbdbedd8d9b493fff4c67da59e48c4 |