@extended-step/zoom-api-meeting-manager
v1.1.2
Published
Javascript (NodeJS) package to easily manage Zoom meetings.
Downloads
1
Readme
Zoom API Meeting Manager
Javascript (NodeJS) package to easily manage Zoom meetings.
Install Package
$ npm install @david-kalmakoff/zoom-api-meeting-manager
Add Package to Project
const Zoom = require("@david-kalmakoff/zoom-api-meeting-manager").default;
const zoomOptions = {
apiUrl: "https://api.zoom.us/v2/",
apiKey: "api_key",
apiSecret: "api_secret",
defaultTopic: "default_topic", // optional
defaultTimezone: "default_timezone", // optional
zoomUser: "zoom_user",
contactName: "contact_name",
contactEmail: "contact_email",
};
const zoom = new Zoom(zoomOptions);
List Available Users
zoom
.listUsers() // Returns array of user data objects { id, email, ... }
.then((res) => console.log(res))
.catch((error) => console.log(error));
Create New Meeting
const meeting = {
topic: "Potential Meeting Title",
start_time: "2022-01-01T12:00:00",
duration: 30,
timezone: "America/Winnipeg",
};
zoom
.createMeeting(meeting) // Returns meeting object { url, id }
.then((res) => console.log(res))
.catch((error) => console.log(error));
List Existing Meetings
zoom
.listMeetings() // Returns array of meeting objects { id, start_time, ... }
.then((res) => console.log(res))
.catch((error) => console.log(error));
Delete Meeting
zoom.deleteMeeting(meetingID).catch((error) => console.log(error));
Edit Meeting
const editMeeting = {
id: meetingID, // Required
topic: "New Potential Meeting Title", // Optional
start_time: "2022-01-02T12:00:00", // Optional
duration: 30, // Optional
timezone: "America/Winnipeg", // Optional
};
zoom.editMeeting(editMeeting).catch((error) => console.log(error));