Skip to content

Devdocs 3091 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Python: Authorization Code Grant Examples

### Github repo: eg-03-python-auth-code-grant
### Github repo: code-examples-python
## Introduction
This repo is a Python 3 application that demonstrates:

Expand Down Expand Up @@ -107,8 +107,8 @@ The **refresh token** is not used in this example.
1. A name and email for a signer, and a name and email for a cc recipient.

### Installation steps
1. Download or clone this repository to your workstation to directory **eg-03-python-auth-code-grant**
1. **cd eg-03-python-auth-code-grant**
1. Download or clone this repository to your workstation to directory **code-examples-python**
1. **cd code-examples-python**
1. **pip3 install -r requirements.txt** (or pipenv can be used)
1. Update the file **app/ds_config.py**
with the Integration Key and other settings.
Expand Down
2 changes: 1 addition & 1 deletion app/eg001_embedded_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64
import re
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg001" # reference (and url) for this example
signer_client_id = 1000 # Used to indicate that the signer will use an embedded
Expand Down
2 changes: 1 addition & 1 deletion app/eg002_signing_via_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg002" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), "static/demo_documents"))
Expand Down
2 changes: 1 addition & 1 deletion app/eg003_list_envelopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from app import app, ds_config, views
from datetime import datetime, timedelta
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg003" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg004_envelope_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from app import app, ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg004" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg005_envelope_recipients.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from app import ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg005" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg006_envelope_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from app import app, ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg006" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg007_envelope_get_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import io
from app import app, ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg007" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg008_create_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg008" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), 'static/demo_documents'))
Expand Down
2 changes: 1 addition & 1 deletion app/eg009_use_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64
import re
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg009" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg011_embedded_sending.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import re
from app import app, ds_config, views, eg002_signing_via_email
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg011" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg012_embedded_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import re
from app import ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg012" # reference (and url) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg013_add_doc_to_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64
import re
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg013" # reference (and url) for this example
signer_client_id = 1000 # The id of the signer within this application.
Expand Down
2 changes: 1 addition & 1 deletion app/eg014_collect_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg014" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), "static/demo_documents"))
Expand Down
2 changes: 1 addition & 1 deletion app/eg015_envelope_tab_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from app import app, ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg015" # Reference (and URL) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg016_set_tab_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64
import re
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg016" # Reference (and URL) for this example
signer_client_id = 1000 # Used to indicate that the signer will use an embedded
Expand Down
2 changes: 1 addition & 1 deletion app/eg017_set_template_tab_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64
import re
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg017" # reference (and url) for this example
signer_client_id = 1000 # Used to indicate that the signer will use an embedded
Expand Down
2 changes: 1 addition & 1 deletion app/eg018_envelope_custom_field_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from app import app, ds_config, views
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg018" # reference (and URL) for this example

Expand Down
2 changes: 1 addition & 1 deletion app/eg019_access_code_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg019" # reference (and url) for this example
# access_code = "NJ9@D1"
Expand Down
2 changes: 1 addition & 1 deletion app/eg020_sms_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg020" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), "static/demo_documents"))
Expand Down
2 changes: 1 addition & 1 deletion app/eg021_phone_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg021" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), "static/demo_documents"))
Expand Down
2 changes: 1 addition & 1 deletion app/eg022_kba_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import json
from docusign_esign import *
from docusign_esign.rest import ApiException
from docusign_esign import ApiException

eg = "eg022" # reference (and url) for this example
demo_docs_path = path.abspath(path.join(path.dirname(path.realpath(__file__)), "static/demo_documents"))
Expand Down
54 changes: 25 additions & 29 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
asn1crypto==0.24.0
astroid==2.0.4
certifi==2018.4.16
cffi==1.11.5
astroid==2.3.3
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
Click==7.0
cryptography==2.7
docusign-esign==1.0.3
Flask==1.0.2
cryptography==2.8
docusign-esign==3.5.0
Flask==1.1.1
Flask-OAuthlib==0.9.5
flask-wtf==0.14.2
idna==2.7
isort==4.3.4
itsdangerous==0.24
Jinja2>=2.10.1
jwcrypto==0.5.0
lazy-object-proxy==1.3.1
MarkupSafe==1.0
flask-wtf==0.14.3
idna==2.8
isort==4.3.21
itsdangerous==1.1.0
Jinja2>=2.10.3
lazy-object-proxy==1.4.3
MarkupSafe==1.1.1
mccabe==0.6.1
oauthlib==2.1.0
pendulum==2.0.3
pipenv==2018.7.1
pipenv==2018.11.26
py-oauth2==0.0.10
pycparser==2.18
pylint==2.1.1
python-dateutil==2.7.3
pytzdata==2018.5
requests>=2.20.1
requests-oauthlib==1.0.0
six==1.11.0
urllib3>=1.24.2
virtualenv==16.0.0
virtualenv-clone==0.3.0
Werkzeug==0.14.1
wrapt==1.10.11
pycparser==2.19
pylint==2.4.4
python-dateutil==2.8.1
requests>=2.22.0
requests-oauthlib==1.3.0
six==1.13.0
urllib3>=1.25.8
virtualenv==16.7.5
virtualenv-clone==0.5.3
Werkzeug==0.16.0
wrapt==1.11.2