@@ -13,29 +13,32 @@ commandline tool that:
1313## Getting started
1414
1515* Follow the [ Sheets API python quickstart] ( https://developers.google.com/sheets/api/quickstart/python )
16- * Make sure to save the ` client-secrets .json` file in your working directory
16+ * Make sure to save the ` credentials .json` file in your working directory
1717* Enable the Google Slides API, Google Drive API and Google Sheets API in your
1818 developer project
1919* Run the tool with no arguments to complete the OAuth consent flow:
2020
21- < pre >
22- $ python qbr_tool.py
23- </ pre >
21+ ``` bash
22+ $ python qbr_tool.py
23+ ```
2424
2525* Run the tool:
2626
27- <pre >
28- // Create the spreadsheet from the Google Slides template.
29- // For example, 13My9SxkotWssCc2F5yaXp2fzGrzoYV6maytr3qAT9GQ
30- $ python qbr_tool.py create_sheet --template_id < ; your template id> ;
31-
32- // Add data from the stub customer service
33- $ python qbr_tool.py add_customers \
34- --spreadsheet_id < ; your spreadsheet id> ; \
35- --customer_id jupiter
36-
37- // Generate the filled in presentation
38- $ python qbr_tool.py create_presentations
39- --spreadsheet_id < ; your spreadsheet id> ; \
40- --customer_id jupiter
41- </pre >
27+ ``` bash
28+ # Create the spreadsheet from the Google Slides template.
29+ # For example, 13My9SxkotWssCc2F5yaXp2fzGrzoYV6maytr3qAT9GQ
30+ $ python qbr_tool.py create_sheet --template_id < your template id> ;
31+ Spreadsheet URL: https://docs.google.com/spreadsheets/d/< spreadsheet id>
32+
33+ # Add data from the stub customer service
34+ $ python qbr_tool.py add_customers \
35+ --spreadsheet_id < spreadsheet id> \
36+ --customer_id jupiter
37+
38+ # Generate the filled in presentation
39+ $ python qbr_tool.py create_presentations
40+ --spreadsheet_id < spreadsheet id> \
41+ --customer_id jupiter
42+ jupiter: https://docs.google.com/presentations/d/< filled in presentation id>
43+ ```
44+
0 commit comments