Skip to content

Commit e17431f

Browse files
committed
Add stuff for video
1 parent 6378386 commit e17431f

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
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
1819
with providing the different endpoints, it will also handle the authentication process
1920
for 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:**

samples/use_imports.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
# Initialize the `Imports` service.
2626
imports_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.

samples/use_push_datasets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
# Add the Sales table to it.
6666
new_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.
7575
new_rows = [

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
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.

0 commit comments

Comments
 (0)