Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joonhocho/fullcontact-card-reader
FullContact Card Reader API Wrapper for Node.js
https://github.com/joonhocho/fullcontact-card-reader
Last synced: about 1 month ago
JSON representation
FullContact Card Reader API Wrapper for Node.js
- Host: GitHub
- URL: https://github.com/joonhocho/fullcontact-card-reader
- Owner: joonhocho
- License: mit
- Created: 2017-08-08T06:28:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T11:49:46.000Z (over 7 years ago)
- Last Synced: 2024-10-13T11:22:18.523Z (2 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fullcontact-card-reader
[![Build Status](https://travis-ci.org/joonhocho/fullcontact-card-reader.svg?branch=master)](https://travis-ci.org/joonhocho/fullcontact-card-reader)
[![Coverage Status](https://coveralls.io/repos/github/joonhocho/fullcontact-card-reader/badge.svg?branch=master)](https://coveralls.io/github/joonhocho/fullcontact-card-reader?branch=master)
[![npm version](https://badge.fury.io/js/fullcontact-card-reader.svg)](https://badge.fury.io/js/fullcontact-card-reader)
[![Dependency Status](https://david-dm.org/joonhocho/fullcontact-card-reader.svg)](https://david-dm.org/joonhocho/fullcontact-card-reader)
[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)FullContact Card Reader API Wrapper for Node.js
### Install
```
npm install --save fullcontact-card-reader
```Requires `Promise`. Use [es6-promise](https://github.com/stefanpenner/es6-promise) if your Node.js version doesn't implement `Promise`.
### Usage
```javascript
import fullcontact from 'fullcontact-card-reader';// ...later in your code
const result = await fullcontact.uploadCard({
// [REQUIRED] default = null
apiKey: '_YOUR_API_KEY_',// [REQUIRED] default = null
webhookUrl: '_YOUR_WEBHOOK_URL_',// [REQUIRED] default = null
front: '_YOUR_IMAGE_',// [OPTIONAL] https://www.fullcontact.com/developer/docs/card-reader/#upload-card
back,
verified,
returnedData,
format,
casing,
sandbox,
URID,
customParams,
callback,
});const result = await fullcontact.viewRequest({
// [REQUIRED] default = null
apiKey: '_YOUR_API_KEY_',// [REQUIRED] default = null
id: '_YOUR_REQUEST_ID_',// [OPTIONAL] https://www.fullcontact.com/developer/docs/card-reader/#view-single-request
returnedData,
format,
diagnostics,
callback,
});const result = await fullcontact.viewRequests({
// [REQUIRED] default = null
apiKey: '_YOUR_API_KEY_',// [OPTIONAL] https://www.fullcontact.com/developer/docs/card-reader/#view-requests
page,
returnedData,
format,
diagnostics,
callback,
});```
### Dependencies
https://github.com/form-data/form-data
https://github.com/request/request
### License
[MIT License](https://github.com/joonhocho/fullcontact-card-reader/blob/master/LICENSE)