0.7.5 • Published 1 month ago

bisnode-consumer-intelligence v0.7.5

Weekly downloads
16
License
MIT
Repository
-
Last release
1 month ago

Purpose

The package is a thin wrapper around the bisnode consumer intelligence API.

ClientId/Secret must be obtained from bisnode.

Install

NPM:

$ npm install --save bisnode-consumer-intelligence

Yarn:

$ yarn add bisnode-consumer-intelligence

Usage

import getClient from 'bisnode-consumer-intelligence';

const client = getClient({clientId, clientSecret});

const result = client.searchOne({country: "NO", "firstName": "Ola", "lastName": "Norman" });

//success result

//{
//        "gedi": "bisnode_unique_id",
//        "firstName": "Ola",
//        "lastName": "Norman",
//        "gender": "Male",
//        "dateOfBirth": "1983-03-22",
//        "yearOfBirth": 1983,
//        "deceased": false,
//        "deregistered": false,
//        "protectedIdentity": false,
//        "language": "nb-NO",
//        "directMarketingRestriction": false,
//        "phoneNumber": "+4799999999",
//        "address": {
//            "type": "Postal",
//            "streetName": "Somewhere",
//            "streetNumber": "35",
//            "entrance": "",
//            "postalCode": "6812",
//            "city": "Somplace",
//            "country": "NO",
//            "formattedAddress": [
//                "Somewhere 35",
//                "6817 Somplace"
//            ]
//        }
//  }

Currently there are three methods available. searchOne which is demonstrated above, search which returns a list of search results and searchRaw which returns the unformatted response from bisnode.

0.7.5

1 month ago

0.7.4

4 months ago

0.7.3

5 months ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.5.4

2 years ago

0.5.3

2 years ago

0.6.0

2 years ago

0.5.2

3 years ago

0.5.1

4 years ago

0.5.0

4 years ago