File tree Expand file tree Collapse file tree 4 files changed +17
-11
lines changed
Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 33## Table of Contents
44
55- [ Overview] ( #overview )
6+ - [ Resources] ( #resources )
67- [ Setup] ( #setup )
78- [ Usage] ( #usage )
89- [ Support These Projects] ( #support-these-projects )
@@ -18,6 +19,11 @@ Power Platform. This library allows you to use the Power BI Rest API from python
1819with providing the different endpoints, it will also handle the authentication process
1920for you.
2021
22+ ## Resources
23+
24+ - [ Power BI App Registration Portal] ( https://dev.powerbi.com/Apps )
25+ - [ Power BI Rest API Documentation] ( https://docs.microsoft.com/en-us/rest/api/power-bi/ )
26+
2127## Setup
2228
2329** Setup - Requirements Install:**
Original file line number Diff line number Diff line change 2525# Initialize the `Imports` service.
2626imports_service = power_bi_client .imports ()
2727
28- # # Create a temporary upload location.
29- # pprint(
30- # imports_service.create_temporary_upload_location()
31- # )
28+ # Create a temporary upload location.
29+ pprint (
30+ imports_service .create_temporary_upload_location ()
31+ )
3232
3333
3434# Get all the Imports from my workspace.
Original file line number Diff line number Diff line change 6565# Add the Sales table to it.
6666new_dataset .add_table (table = table_sales )
6767
68- # pprint(
69- # push_datasets_service.post_dataset(
70- # dataset=new_dataset
71- # )
72- # )
68+ pprint (
69+ push_datasets_service .post_dataset (
70+ dataset = new_dataset
71+ )
72+ )
7373
7474# Define some fake data.
7575new_rows = [
Original file line number Diff line number Diff line change 2626
2727 # Define dependencies.
2828 install_requires = [
29- 'msal==1.5.0 ' ,
30- 'requests==2.24.0 '
29+ 'msal' ,
30+ 'requests'
3131 ],
3232
3333 # Specify folder content.
You can’t perform that action at this time.
0 commit comments