Django-DocuSign
Django wrapper app for DocuSign functionalities
pip install django-docusign
Running Tests
We have a unit test defined for testing the los application. This can be executed using the below command.
python manage.py test
Usage
In order to use the system you must add los_docusign.apps.LosDocusignConfig to your installed apps in your settings.py file.
INSTALLED_APPS = [
'los_docusign'
]
Test file has the sample implementation of the test_app
Functions in client.py
-
generate_docusign_preview_url(dict)
Params required in dict:
- "envelope_id"
- "authentication_method"
- "email"
- "user_name"
- "client_user_id"
- "return_url"
-
create_envelope(payload)
Params required:
- DocuSign payload in JSON format
-
download_docusign_document(dict)
Params required in dict:
- "envelope_id"
- "doc_download_option"
- Valid Values:
- archive - If the document to be downloaded in zip format.
- combined - If the document to be downloaded as a combined document.
- Valid Values:
-
process_docusign_webhook(xml_string)
Params required:
- Webhook XML string received from Docusign.
Response dict: { "envelopeId": "c57ec066-c5fa-4aa0-873d-6f285d70242a", "envelope_status": "sent", "recipients": [ { "recipient_id": "a7f73f21-c4ff-4bcb-97c4-b03c91b8528a", "email": "test@test.com", "name": "John Nash", "status": "autoresponded" }, { "recipient_id": "511b2ad3-6650-4773-a6b4-47f64a0ccdaf", "email": "jerry@test.com", "name": "Jerry Tunes", "status": "created" }, { "recipient_id": "0851505f-5af2-42df-bce4-9e0ebe8bd2e2", "email": "tom@test.com", "name": "Tom Tunes", "status": "created" } ] }
Metadata
Release files for los-docusign 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| los_docusign-0.3.7.tar.gz | 17.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| los_docusign-0.3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.9 kB
Release files / los_docusign-0.3.7.tar.gz
| Download URL | los_docusign-0.3.7.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6cb7ccf42c8e3607bf1e7adfbae9cdfc8f0e1b50b55d791545a536ea2499b97
|
|
BLAKE2b-256 checksum How to use checksums |
71c222db029ee4ac0ef3ccf4fbcaca9558316a5d49900c12ffc49617c9c46780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.6.12 Linux/5.10.76-linuxkit
|
Release files / los_docusign-0.3.7-py3-none-any.whl
| Download URL | los_docusign-0.3.7-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
626770bd2ea3e9661742fcf115888c42e87f5aa95613873b0dde075e371b3877
|
|
BLAKE2b-256 checksum How to use checksums |
293c949fe451cdcd04075830e28b894a7b848dd72d9b41bc28256891e536fc5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.6.12 Linux/5.10.76-linuxkit
|