How gilbertossoares/exportdataapipowerbirs works
Project type and purpose
• This is a small command-line utility written in Python to export data from a Power BI Report Server (PBIRS) via its REST API (API 2.0).
• Its primary function is to fetch metadata and data for Reports, DataSources, and Policies from PBIRS and write them out as CSV files.
File structure
• Top‐level files:
• queryApi.py – the main script
• requirements.txt – declares Python dependencies (e.g., requests, possibly pandas or csv)
• readme.MD – high-level description and configuration instructions
• sample/ – a folder containing sample CSV outputs (datasources.csv, policies.csv, reports.csv)
• No subdirectories for “frontend” or “backend” – it’s purely a single‐component utility.
README for additional insights
• The README confirms the script uses PBIRS API 2.0 endpoints to export three resource types.
• Configuration is limited to setting a base URL variable within the script.