helloworks-sdk

1.3.0 • Public • Published

HelloWorks Node.js SDK

A Node.js SDK for easily creating and managing HelloWorks workflow instances.

Npm version Travis David


Usage

Start by installing the HelloWorks SDK from npm.

npm install helloworks-sdk

In your backend app, require the helloworks-sdk library and instantiate a new client with your API key ID and secret.

const HelloWorks = require('helloworks-sdk');

const client = new HelloWorks({
  apiKeyId,
  apiKeySecret,
});

Use the client to easily make HelloWorks API requests without the overhead of handling responses and managing JWT authorization.

client.workflowInstances.getInstance({
  instanceId,
}).then((instanceObj) => {
  // ...
});

More examples and documentation can be found in the API Documentation Wiki page.

Note: It should go without saying that this library must never be used on the client side of your application. The HelloWorks Node.js SDK relies on sensitive API keys and by using it on the public-facing frontend codebase you will risk dangerously exposing your API key secret, which will make you vulnerable to impersonation attacks.

Resources




© 2019 HelloSign. All rights reserved.

Package Sidebar

Install

npm i helloworks-sdk

Weekly Downloads

7

Version

1.3.0

License

Apache-2.0

Unpacked Size

34.8 kB

Total Files

12

Last publish

Collaborators

  • hellosign-admin
  • npbee
  • nathanbuchar
  • asaayers