RESTFUL Power BI Python library
$ https://login.microsoftonline.com/a208fa35-44ee-4d61-9589-947f11ff7ed6/oauth2/v2.0/authorize?client_id=4106f761-3b6c-4099-849e-31fbd638ffb0&response_type=code&redirect_uri=https://localhost/redirect&response_mode=query&scope=https://analysis.windows.net/powerbi/api/App.Read.All+https://analysis.windows.net/powerbi/api/Capacity.Read.All+https://analysis.windows.net/powerbi/api/Capacity.ReadWrite.All+https://analysis.windows.net/powerbi/api/Content.Create+https://analysis.windows.net/powerbi/api/Dashboard.Read.All+https://analysis.windows.net/powerbi/api/Dashboard.ReadWrite.All+https://analysis.windows.net/powerbi/api/Dataflow.Read.All+https://analysis.windows.net/powerbi/api/Dataflow.ReadWrite.All+https://analysis.windows.net/powerbi/api/Dataset.Read.All+https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All+https://analysis.windows.net/powerbi/api/Gateway.Read.All+https://analysis.windows.net/powerbi/api/Gateway.ReadWrite.All+https://analysis.windows.net/powerbi/api/Pipeline.Deploy+https://analysis.windows.net/powerbi/api/Pipeline.Read.All+https://analysis.windows.net/powerbi/api/Pipeline.ReadWrite.All+https://analysis.windows.net/powerbi/api/Report.Read.All+https://analysis.windows.net/powerbi/api/Report.ReadWrite.All+https://analysis.windows.net/powerbi/api/StorageAccount.Read.All+https://analysis.windows.net/powerbi/api/StorageAccount.ReadWrite.All+https://analysis.windows.net/powerbi/api/Tenant.Read.All+https://analysis.windows.net/powerbi/api/Tenant.ReadWrite.All+https://analysis.windows.net/powerbi/api/UserState.ReadWrite.All+https://analysis.windows.net/powerbi/api/Workspace.Read.All+https://analysis.windows.net/powerbi/api/Workspace.ReadWrite.All&state=skip_get_token2