Open
Description
Can this be added to the API Wrapper?
I have fashioned my own for testing ...
SCORMCloud.prototype.getCourseMetaData = function (courseid, callback) {
var url = new URL('api?method=rustici.course.getMetadata', this.serviceUrl);
// The id used to identify this course.
if (courseid) url.searchParams.set('courseid', courseid);
this._request(url, function (error, json) {
if (error) return callback(error, json);
let data = json.rsp.package;
return callback(error, data);
});
}