dbc-node-borchk

2.0.2 • Public • Published

dbc-node-borchk

David David

Node borrow check wrapper module for the DBC webservice https://borchk.addi.dk/.

BORCHK is a web service used by systems and interfaces for lookup in library borrower records, to verify whether a user is enrolled, and whether he is a citizen of the municipality.

Borchk.getBorrowerCheckResult(values):Promise

Method for creating a borrow check request for a specific user.

This method returns a borrow check result from the webservice containing simple response which can be "ok" or "borrower_not_found".

Example:

params = {
  userId: '',
  userPincode: ''
};
 
Borchk.getBorrowerCheckResult(params);
 

Readme

Keywords

Package Sidebar

Install

npm i dbc-node-borchk

Weekly Downloads

5

Version

2.0.2

License

GPL-3.0

Last publish

Collaborators

  • dbcdk