I know I can simply google a lot about (python) Power BI REST API for power bi, but I am not very familiar with python, but currently I need to implement using (python) Power BI REST API to connect power bi service and publish one pbix.
What I have checked that:
https://github.com/AntoineDW/powerbi-rest-api-python
But there is no code example done using Power BI REST API, so I want anyone to give me that example so I can update some of my personal values to run the script.
BTW, I prefer to use principal to connect power bi.