Where to get started
The NodeJS module can be installed into you Node project by:
npm install openmeetings-node-client
Afterwards you can access different API methods for example:
const {UserServiceApi, Configuration} = require("openmeetings-node-client");
const BASE_URL = "http://localhost:5080/openmeetings"
const config = new Configuration({
basePath: BASE_URL + "/services"
})
const userService = new UserServiceApi(config);
// 1. Login to service
const loginResult = await userService.login("admin", "!HansHans")
Full source code can be seen in 2 sample projects using the module in Node.js using the Express.js framework:
There are in-depth examples and instructions for JavaScript/ES6 and TypeScript at: https://www.npmjs.com/package/openmeetings-node-client