mdl-ws-core-course-ts
v1.2.0
Published
Package to use web services of moodle (core-course)
Downloads
12
Maintainers
Readme
mdl-ws-core-course-ts
Package to use web services of moodle (core-course) (https://docs.moodle.org/dev/Creating_a_web_service_client)
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
If this is a brand new project, make sure to create a package.json
first with
the npm init
command.
Installation is done using the
npm install
command:
$ npm install mdl-ws-core-course-ts
Examples
General use
import CoreCourse from "mdl-ws-core-course-ts";
const response = CoreCourse.GetCourses({
rootURL: "http://localhost/moodle",
token: "aeb315e6dd3affc18352fe46124cdd48",
content: {
options: {
ids: [2,3,4,5]
}
},
});