An open API service indexing awesome lists of open source software.

https://github.com/fredlackey/moodle-node

Manage Moodle from NodeJS
https://github.com/fredlackey/moodle-node

Last synced: about 1 month ago
JSON representation

Manage Moodle from NodeJS

Awesome Lists containing this project

README

        

# moodle-node

Manage Moodle from NodeJS

## Installation

```bash
npm install moodle-node
```

## Usage

```javascript
const moodle = require('moodle-node');

const user = await moodle.user.createUser({
username: 'joeblow',
password: 'Pass1234!',
email: '[email protected]',
firstname: 'Joe',
lastname: 'Blow',
});
console.log(user);

```

## Output

The output is a JSON object or array based on the function called:

```json
[
{
"id": 7,
"username": "joeblow"
}
]
```

## Contact Information

If you ever need a hand or have any questions, feel free to reach out.

**Fred Lackey**
[https://fredlackey.com](https://fredlackey.com)
[[email protected]](mailto:[email protected])