0.1.7 • Published 10 years ago

@eda/hellosign-facade v0.1.7

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
10 years ago

Hellosign npm Documentation

For usage with Hellosign prototype

IMPORTANT FOR NPM TO WORK This Npm uses dotenv and fs for handling credentials for hellosign authentication. Create a .env file and set the following

  • HELLOSIGN_KEY= Hellosign key

Initialize dot env

require('dotenv').load();

Then initialize hellosign;

var credentials = {
  apiKey: process.env.HELLOSIGN_KEY;
};
var relate = require('../index.js')(credentials);

One initialized the following functions are available to be used:

signTemplate function

function signTemplate(type, student, callback)

###Arguments

####type:

  • "welcome" - Sends welcome letter
  • null , sends the terms and conditions

####student: Structure as below:

  {
    name: example student name,
    email: example student email
  }
0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago