1.0.0-beta.9 • Published 2 years ago

@idfy/sdk v1.0.0-beta.9

Weekly downloads
93
License
Apache-2.0
Repository
github
Last release
2 years ago

Idfy Node.js SDK

Build Status npm (scoped)

A Node.js SDK for simple integration with the Idfy REST API.

Installation

npm install @idfy/sdk --save 

Documentation

Sample Usage

All methods return a Promise that resolves with the response body returned from the API.

The example below shows how to get the details of a single document.

const { IdfyClient } = require('@idfy/sdk');

// Initialize client with your credentials and desired scopes
const client = new IdfyClient(
  'clientId',
  'clientSecret',
  ['document_read', 'document_write']
);

// Make a call to retrieve the document
client.signature.getDocument('documentId')
  .then((document) => {
    console.log(`Retrieved document: ${document.title}`);
  });

Typescript Usage

The Idfy SDK comes with built-in typings.

import { IdfyClient } from '@idfy/sdk';

const client: IdfyClient = new IdfyClient(/* ... /*);

Support

1.0.0-beta.9

2 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.3

4 years ago

1.0.0-beta.2

4 years ago

1.0.0-beta.1

5 years ago

1.0.0-beta.0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago