@ohmunity/whereby
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Dependencies (1)

Dev Dependencies (13)

Package Sidebar

Install

npm i @ohmunity/whereby

Weekly Downloads

172

Version

0.0.1

License

MIT

Unpacked Size

7.83 kB

Total Files

5

Last publish

Collaborators

  • giulianok