This package has been deprecated

Author message:

this package has been deprecated

somtoday-wisservice

1.0.1 • Public • Published

SOMtoday WISService wrapper for Node

This library provides an easy interface to the SOMtoday WISService.

Installation

npm install somtoday-wisservice

Example usage

'use strict';

const WISServiceClient = require('somtoday-wisservice');


new WISServiceClient({
    'portal': 'xxxx', // Portal name, is subdomain without the '-oop' part
    'brin': 'XXXX', // 4 character NL BRIN number of the school
    'username': 'xxxxxxxx', // Username
    'password': 'xxxxxxxxxx' // Password
}, function(err, client) {
    if (err) {
        console.log('Could not connect: ' + err.message);
        return;
    }
    
    // View all available calls
    // console.log(Object.keys(client));
    
    // Perform a call
    client.getLeerling({
        leerlingNummer: 12345
    }, function(err, result) {
        console.log(result);
    });
});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i somtoday-wisservice

    Weekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • tschoffelen