Popularity
5.0
Declining
Activity
0.0
Stable
2
6
1

Monthly Downloads: 3
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Finance     Business     Docusign    
Latest version: v0.1.0.0
Add another 'docusign' Package

README

Introduction

This repository provides a basic demonstration of how to use the Haskell docusign-client package. In particular, it demonstrates how to:

  1. Upload an unsigned document to DocuSign.
  2. Initiate an embedded signing ceremony.
  3. Download a signed document from DocuSign.

To run the sample code, you'll need an account with DocuSign. In particular, you should have the following information to hand:

  • Your account ID (an integer)
  • Your account key (a UUID)
  • Your account username (normally an email address)
  • Your account password

Building

With cabal:

cabal new-build

With stack:

stack setup
stack build

Running

Run the following, substituting in your own DocuSign account information:

<cabal new-exec|stack exec> docusign-example --      \
  --host      demo.docusign.net                      \
  --port      443                                    \
  --account   1234567                                \
  --username  [email protected]                       \
  --password  mypassword                             \
  --key       01234567-0123-0123-0123-0123456789abc  \
  --input     example-document.pdf                   \
  --output    example-document-signed.pdf            \
  --anchor    signinglocation

Note that all of the above arguments are required.