@ohmunity/whereby

WhereBy unofficial sdk (whereby.com)

Usage no npm install needed!

<script type="module">
  import ohmunityWhereby from 'https://cdn.skypack.dev/@ohmunity/whereby';
</script>

README

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