sits-integration

A useless module for most people, but publishing for posterity sake.

Usage no npm install needed!

<script type="module">
  import sitsIntegration from 'https://cdn.skypack.dev/sits-integration';
</script>

README

SITS-Integration

This is a module for communicating with the integration backend.

You probably don't know what it's for :P

Usage

var config = {
    url: 'https://sit-web.otago.ac.nz/integration/endpoint',
    app_key: 'abcdef',
    app_secret: '123456789abcdef'
};

var api = require('sits-integration')(config);

api.call('user/list', {privilege: 'admin_login'}, function(response){
    console.log('The users that can login are: ', response);
});