1.1.2 • Published 5 years ago

fullcontact-node-sdk v1.1.2

Weekly downloads
95
License
MIT
Repository
github
Last release
5 years ago

Build Status npm version Node version

IMPORTANT: This SDK should be used server-side only. Using it in a browser would expose your API Key.

Installation

npm install fullcontact-node-sdk --save

Documentation

API Documentation can be found at https://docs.fullcontact.com/

JSDocs can be found in docs.md

Usage

Configuration

var fullcontact = require('fullcontact-node-sdk')({
	apiKey: '<API Key>',
	userAgent: '<AppName/Version>'
});
Enrich APIs

All Enrich APIs can be found under the enrich property on the client.

const myLookup = async () => {
    try {
      const res = await fullcontact.enrich.person.enrich({ email: 'bart@fullcontact.com' })

      //do something with res
    } catch(e) {
      //handle error
    }
}

Tests


To run tests:

npm test

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago