Appruve
A NodeJS Wrapper for Appruve
Overview
This project provides an easy-to-use object-oriented API to access endpoints delineated at https://docs.appruve.co
Getting Started
Install from the NPM Registry
$ npm i --save appruve
Usage
let Appruve = let APIKEY = 'sk_live_2hWyQ6HW73jS8p1IftJRKxDkXmSWOlE4y9Inhgyd6g5f2R7'const environment = processenvNODE_ENV const appruve = APIKEY environment // Verify a Nigeria Driver License ID const promise1 = appruve promise1 // Verify a Ghana International Passport. const promise2 = appruve promise2
API Resources
Each method expects an object literal with both route parameters and request parameters (query / body). Please, go through the src/endpoints folder to see the specific items that should make up the object literal for each method
-
identity
- appruve.nigeriaNationalId()
- appruve.nigeriaVoterId()
- appruve.nigeriaDriverLicense()
- appruve.nigeriaBVN()
- appruve.nigeriaPassport()
- appruve.kenyaNationalId()
- appruve.ugandaTelco()
- appruve.ghanaPassport()
- appruve.ghanaSSNIT()
- appruve.ghanaDriverLicense()
-
business
- appruve.nigeriaCAC()
- appruve.nigeriaTIN()
- appruve.ghanaTIN()
- appruve.kenyaKRA()
-
Agency
- appruve.validateBVN()
- appruve.verifyBVN()
License
MIT
Credits
Support
Coolcodes is a non-profit software foundation (collective) created by Oparand - parent company of StitchNG, Synergixe based in Abuja, Nigeria. You'll find an overview of all our work and supported open source projects on our Facebook Page.
Follow us on facebook if you can to get the latest open source software/freeware news and infomation.
Does your business depend on our open projects? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.