0.1.7 • Published 10 years ago

scormcloud-api-node v0.1.7

Weekly downloads
5
License
BSD-2-Clause
Repository
github
Last release
10 years ago

scormcloud-api-node

A very rough and simple implementation of the scormcloud api.

This is work in progress that currently only partially supports 2 of the many services offered. I will be adding more services as they are needed by my company. If you need features or changes faster than i can apply, im happy to make this an open project.

Using these services are fairly easy;

var ScormCloudAPI = require('scormcloud-api');

var config = new ScormCloudAPI.Configuration('http://cloud.scorm.com', 'yourappid', 'yoursecretkey', 'orgin');

var serviceProvider = new ScormCloudAPI(config);
var accountService = serviceProvicer.getService('account');

accountService.getAccountInformation(function(r){
  if(r.isOk()){
    var accountInfo = r.getData();
    console.log(accountInfo.getFirstName() + " " + accountInfo.getLastName());
  } else {
    console.log('Request returned: ' + r.getStatus() + ' with error: ' + r.getError());
  }
});
0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago