You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Python Launcher Code Examples
2
2
3
-
### Github repo: [code-examples-python](./)
3
+
### GitHub repo: [code-examples-python](./)
4
4
5
-
This GitHub repo includes code examples for the DocuSign eSignature REST API, Rooms API, and Click API. To switch between API code examples, modify the EXAMPLES_API_TYPE setting in the ds_config.py file. Change the value of either `ESignature`, `Rooms`, `Click`, or `Monitor` to `True` to use the corresponding API. Set only one API type to `True` and set the remaining to `False`.
5
+
This GitHub repo includes code examples for the DocuSign eSignature REST API, Rooms API, Click API, and Monitor API. To switch between API code examples, modify the `EXAMPLES_API_TYPE` setting in the ds_config.py file. Change the value of either `ESignature`, `Rooms`, `Click`, or `Monitor` to `True` to use the corresponding API. Set only one API type to `True` and set the remaining to `False`.
6
6
7
-
If none of the API types are set to true, the DocuSign eSignature REST API code examples will be shown. If multiple API types are set to true, only the first will be shown.
7
+
If none of the API types are set to `True`, the DocuSign eSignature REST API code examples will be shown. If multiple API types are set to `True`, only the first will be shown.
8
8
9
9
10
10
## Introduction
@@ -75,7 +75,7 @@ For a list of code examples that use the Monitor API, select the Python tab unde
75
75
1. Extract the Quickstart ZIP file or download or clone the code-examples-python repository.
76
76
1. In your command-line environment, switch to the folder:
77
77
`cd <Quickstart folder>` or `cd code-examples-python`
78
-
1. To install dependencies, run`pip3 install -r requirements.txt` (or pipenv can be used).
78
+
1. To install dependencies, run: `pip3 install -r requirements.txt` (or pipenv can be used)
79
79
1. To configure the launcher for [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/) authentication, create a copy of the file app/ds_config_sample.py and save the copy as app/ds_config.py.
80
80
1. Add your integration key. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **Apps and Integration Keys**, choose the app to use, then select **Actions > Edit**. Under **General Info**, copy the **Integration Key** GUID and save it in ds_config.py as your `ds_client_id`.
81
81
1. Generate a secret key, if you don’t already have one. Under **Authentication**, select **+ ADD SECRET KEY**. Copy the secret key and save it in ds_config.py as your `ds_client_secret`.
@@ -93,7 +93,7 @@ Also, in order to select JSON Web Token authentication in the launcher, in app/d
93
93
94
94
1. Extract the Quickstart ZIP file or download or clone the code-examples-python repository.
95
95
1. In your command-line environment, switch to the folder: `cd <Quickstart folder>` or `cd code-examples-python`
96
-
1. To install dependencies, run `pip3 install -r requirements.txt` (or pipenv can be used).
96
+
1. To install dependencies, run:`pip3 install -r requirements.txt` (or pipenv can be used)
97
97
1. To configure the launcher for [JWT Grant](https://developers.docusign.com/platform/auth/jwt/) authentication, create a copy of the file app/ds_config_sample.py and save the copy as app/ds_config.py.
98
98
1. Add your API Username. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **My Account Information**, copy the **API Username** GUID and save it in ds_config.py as your `ds_impersonated_user_id`.
99
99
1. Add your integration key. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **Apps and Integration Keys**, choose the app to use, then select **Actions > Edit**. Under **General Info**, copy the **Integration Key** GUID and save it in ds_config.py as your `ds_client_id`.
@@ -111,7 +111,7 @@ Also, in order to select JSON Web Token authentication in the launcher, in app/d
111
111
112
112
## Payments code example
113
113
114
-
To use the payments code example, create a test payment gateway on the [**Payments**](https://admindemo.docusign.com/authenticate?goTo=payments) page in your developer account. See [Configure a payment gateway](./PAYMENTS_INSTALLATION.md) for details.
114
+
To use the payments code example, create a test payment gateway on the [Payments](https://admindemo.docusign.com/authenticate?goTo=payments) page in your developer account. See [Configure a payment gateway](./PAYMENTS_INSTALLATION.md) for details.
115
115
116
116
Once you've created a payment gateway, save the **Gateway Account ID** GUID to ds_config.py.
0 commit comments