npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

cms-api-client

0.2.4 • Public • Published

cms-api-client

This is a JavaScript client for the Cisco Meeting Server API (currently built against v2.2 of the CMS API).

Functions

Currently this library can create a Space, list Spaces with pagination, and list all Spaces.

Usage

const CmsClient = require('cms-api-client')
let client = new CmsClient({
  url: 'https://cms.mydomain.com:445/api/v1',
  username: 'api',
  password: 'pa$$w0rd'
})
 
client.spaces.create({
  name: 'Jane Smith',
  email: 'jsmith@mydomain.com',
  uri: 'jsmith',
  secondaryUri: '5551112222',
  callId: '5551112222',
  passcode: '123456'
})
.then(response => {
  console.log(response)
})
.catch(error => {
  console.log(error)
})
 
client.spaces.listAll()
.then(response => {
  console.log(response)
})
.catch(error => {
  console.log(error)
})

install

npm i cms-api-client

Downloadsweekly downloads

13

version

0.2.4

license

UNLICENSED

homepage

gitlab.com

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability