bigbluebutton

0.5.2 • Public • Published

node-bigbluebutton

Integration between BigBlueButton server and Node.js Applications. Read the Wiki to learn more (https://code.google.com/p/bigbluebutton/wiki/API)

Install

npm install bigbluebutton

Usage

First, you have to setup the server configuration. Run bbb-conf --salt on server to get the salt and url, then put in your node.js application

var bbb = require('bigbluebutton);

bbb.salt = '99999999999999999999999';
bbb.url = 'http://localhost/bigbluebutton';

Now you can access the BigBlueButton API easely. You can see some example bellow.

Examples

Generate a join link:

data = {
  action: 'join',
  params: {
    fullName: 'Test Meeting',
    meetingID: 'exampleaew',
    password: 'WWoon2G8'
  }
}

bbb.link(data,function(er,link){
  console.log(link);
});

GET meeting list request:

data = {
  action: 'getMeetings',
}

bbb.request(data,function (er,response){
  console.log(response);
});

POST meeting creation request with a presentation:

data = {
  action: 'create',
  params: { 
    meetingID: 'exampleaew',
    meetingName: 'Example Aew',
    moderatorPW: 'exemplo123asd'
  },
  body: {
    modules: {
      module: [
        {
          name:'presentation',
          document:{url:'http://www.samplepdf.com/sample.pdf'}
        }
      ]
    }
  }
}

bbb.request(data,function (er,response){
  console.log(response);
}); 

POST or GET response example:

{
  "response":
  {
    "returncode":"SUCCESS",
    "meetings":{},
    "messageKey":"noMeetings",
    "message":"no meetings were found on this server"
  }
}

Other BigBlueButton API methods

https://code.google.com/p/bigbluebutton/wiki/API#API_Calls

Contributors

Thanks

Readme

Keywords

none

Package Sidebar

Install

npm i bigbluebutton

Weekly Downloads

2

Version

0.5.2

License

MIT

Last publish

Collaborators

  • paulocesar