1.2.0 • Published 2 years ago

mdl-ws-enrol-manual-ts v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

mdl-ws-enrol-manual-ts

Package to use web services of moodle (enrol-manual) (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-enrol-manual-ts

Examples

General use

import CoreGroup from "mdl-ws-enrol-manual-ts";

const response = EnrolManual.EnrolUsers({
  rootURL: "http://localhost/moodle",
  token: "aeb315e6dd3affc18352fe46124cdd48",
  content: {
    enrolments: [
        {
            rolid: 1,
            userid: 2,
            courseid: 3
        }
    ]
  },
});
1.2.0

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.10

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago