Skip to content

Instantly share code, notes, and snippets.

<?php
// Input your info here:
$email = "***"; // your account email (also where this signature request will be sent)
$password = "***"; // your account password
$integratorKey = "***"; // your account integrator key, found on (Preferences -> API page)
$recipientName = "***"; // provide a recipient (signer) name
$templateId = "***"; // provide a valid templateId of a template in your account
$templateRoleName = "***"; // use same role name that exists on the template in the console
#!/usr/bin/perl
#
# API WALKTHROUGH #5 in Perl - Get Envelope Status Info
#
use strict;
use LWP 6.00;
use JSON;
use Data::Dumper;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
#!/usr/bin/perl
#
# API WALKTHROUGH #4 in Perl - Request Signature on a Document
#
use strict;
use LWP 6.00;
use JSON;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
#!/usr/bin/perl
#
# API WALKTHROUGH #3 in Perl - Get Envelope Recipient Information
#
use strict;
use LWP 6.00;
use JSON;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
#!/usr/bin/perl
#
# API WALKTHROUGH #2 in Perl - Get Envelope Information
#
use strict;
use LWP 6.00;
use JSON;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
#!/usr/bin/perl
#
# API WALKTHROUGH #1 in Perl - Request Signature from Template
#
use strict;
use LWP 6.00;
use JSON;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
@Ergin008
Ergin008 / EmbeddedDocuSign.py
Created December 5, 2012 20:03
Embedded DocuSign
# DocuSign API Walkthrough 09 (PYTHON) - Embedded DocuSign
import sys, httplib2, json;
#enter your info:
username = "***";
password = "***";
integratorKey = "***";
templateId = "***";
authenticateStr = "<DocuSignCredentials>" \
@Ergin008
Ergin008 / EmbeddedSigning.py
Created December 5, 2012 20:01
Embedded Signing
# DocuSign API Walkthrough 08 (PYTHON) - Embedded Signing
import sys, httplib2, json;
#enter your info:
username = "***";
password = "***";
integratorKey = "***";
templateId = "***";
authenticateStr = "<DocuSignCredentials>" \
@Ergin008
Ergin008 / EmbeddedSending.py
Created December 5, 2012 20:00
Embedded Sending
# DocuSign API Walkthrough 07 (PYTHON) - Embedded Sending
import sys, httplib2, json;
#enter your info:
username = "***";
password = "***";
integratorKey = "***";
templateId = "***";
authenticateStr = "<DocuSignCredentials>" \
@Ergin008
Ergin008 / GetEnvelopeDocs.py
Created December 5, 2012 19:59
Get Envelope Documents
# DocuSign API Walkthrough 06 (PYTHON) - Retrieve Envelope's Document List and Download documents
import sys, httplib2, json;
#enter your info:
username = "***";
password = "***";
integratorKey = "***";
envelopeId = "***";
envelopeUri = "/envelopes/" + envelopeId;