Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion meetings/create/create_meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@

const https = require('https'); // https://nodejs.org/api/https.html

const myWebexDeveloperToken = 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN';
// You can set your WEBEXTOKEN env to your 12-hour token, OR...
Comment thread
DavidLiedle marked this conversation as resolved.
const myWebexDeveloperToken = (typeof process.env.WEBEXTOKEN !=='undefined' )
? process.env.WEBEXTOKEN // Sets the token from your system's ENV if you've done that, OR...
: 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN'; // ...replace this text with your 12-hour token

const body = JSON.stringify({
title: 'Book Club Discussion: Curious George', // String, Required | Meeting title. The title can be a maximum of 128 characters long.
Expand Down
6 changes: 5 additions & 1 deletion meetings/read/get_meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@

const https = require('https'); // https://nodejs.org/api/https.html

const myWebexDeveloperToken = 'REPLACE WITH TOKEN';
// You can set your WEBEXTOKEN env to your 12-hour token, OR...
const myWebexDeveloperToken = (typeof process.env.WEBEXTOKEN !=='undefined' )
? process.env.WEBEXTOKEN // Sets the token from your system's ENV if you've done that, OR...
: 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN'; // ...replace this text with your 12-hour token

const meetingID = 'REPLACE WITH MEETING ID';

const options = {
Expand Down
5 changes: 4 additions & 1 deletion meetings/read/list_meetings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@

const https = require('https'); // https://nodejs.org/api/https.html

const myWebexDeveloperToken = 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN';
// You can set your WEBEXTOKEN env to your 12-hour token, OR...
const myWebexDeveloperToken = (typeof process.env.WEBEXTOKEN !=='undefined' )
? process.env.WEBEXTOKEN // Sets the token from your system's ENV if you've done that, OR...
: 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN'; // ...replace this text with your 12-hour token

const options = {
method: 'GET',
Expand Down
6 changes: 5 additions & 1 deletion meetings/update/update_meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@

const https = require('https'); // https://nodejs.org/api/https.html

const myWebexDeveloperToken = 'REPLACE WITH API KEY';
// You can set your WEBEXTOKEN env to your 12-hour token, OR...
const myWebexDeveloperToken = (typeof process.env.WEBEXTOKEN !=='undefined' )
? process.env.WEBEXTOKEN // Sets the token from your system's ENV if you've done that, OR...
: 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN'; // ...replace this text with your 12-hour token

const meetingID = 'REPLACE WITH MEETING ID';
const meetingPassword = 'REPLACE WITH MEETING PASSWORD';

Expand Down