mdl-ws-local-ts
v1.2.0
Published
Package to use local web services of moodle (local)
Downloads
8
Maintainers
Readme
mdl-ws-local-ts
Package to use local web services of moodle(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-local-ts
Implemented web services
WSGetRoles
You can consult the documentation of the functions of this module in the following link.
Examples
General use
import mdlWsLocal from "mdl-ws-local-ts";
const response = mdlWsLocal.WSGetRoles.GetRoles({
rootURL: "http://localhost/moodle",
token: "aeb315e6dd3affc18352fe46124cdd48",
content: {
},
});