oranjekruis

1.1.0 • Public • Published

🔶 Oranje Kruis API

This library uses Puppeteer to fetch Oranje Kruis certificates and diplomas.
Originally created by Ruben Uijtdewilligen for EHBO Vereniging Roosendaal.

Usage

There is just one function, getCerts, and it takes two arguments. The first is the certificate number and the second is the certificate holder's last name without prefix.

import { getCerts } from '../index.js';
getCerts('12345678', 'Smith').then((certs) => {
    // [
    //     {
    //         name: 'Eerste Hulp',
    //         type: 'Diploma',
    //         received: '11-11-2011',
    //         expires: '11-11-2022'
    //     }
    // ]
});

Package Sidebar

Install

npm i oranjekruis

Weekly Downloads

2

Version

1.1.0

License

GPL-3.0-or-later

Unpacked Size

37.8 kB

Total Files

4

Last publish

Collaborators

  • rendermelon