0.0.1 • Published 5 years ago

@ohmunity/whereby v0.0.1

Weekly downloads
167
License
MIT
Repository
github
Last release
5 years ago

Whereby

Whereby Unofficial Node SDK. Visit Whereby developer guide for more info.

Get started

Install the library by running npm install @ohmunity/whereby --save. It includes declaration file for Typescript.

Create Meeting

import Whereby from '@ohmunity/whereby';

const client = new WhereBy('YOUR API KEY');

client
  .createMeeting({
    startDate: new Date(),
    endDate: new Date(),
  })
  .then((response) => {
    console.log('response', response);
  });

For additional parameters, visit Create meeting documentation

Retrieve Meeting

import Whereby from '@ohmunity/whereby';

const client = new WhereBy('YOUR API KEY');

client
  .meeting('ID') // e.g. 11417010
  .then((response) => {
    console.log('response', response);
  });

For additional parameters, visit Get meeting documentation

Delete Meeting

import Whereby from '@ohmunity/whereby';

const client = new WhereBy('YOUR API KEY');

client
  .deleteMeeting('ID') // e.g. 11417010
  .then((response) => {
    console.log('response', response);
  });

For additional parameters, visit Delete meeting documentation