bigbluebutton/bbb-events

Please help / how to use it

Closed this issue · 3 comments

Dear Fred,
I need to extract simple data about my meetings (attendee name, joining day/time, leaving day/time).
I understood that I have to use bbb-events ruby gem that has in it all the info I need.
But I'm not an expert with ruby and gems so I'm here to ask you if there is a guide on how to use it step by step to install it and to extract the data I need from events.xml file of my meeting.
I want to study and learn so I hope you can give me some advice to get through this.
Thank you very much for everything.
Riccardo

It did not work on Ubuntu 16.04 and 20.04 for me. However, I got it working with the following steps in Ubuntu 18.04:

  1. Install ruby, bundler and git:
apt update
apt install ruby ruby-bundler git -y
  1. Clone the repo
cd /usr/src/
git clone https://github.com/bigbluebutton/bbb-events.git
cd bbb-events/
  1. Install the dependencies
bundle install --path vendor/bundle
  1. Now save your events file to ./events.xml

  2. Then extract the data from ./events.xml like this:

bundle exec ./example.rb ./events.xml
  1. The extraction should have created these two files:
root@bbb-events:/usr/src/bbb-events# ls -ahl data.*
-rw-r--r-- 1 root root 171 Jun  9 21:37 data.csv
-rw-r--r-- 1 root root 735 Jun  9 21:37 data.json

Hope this helps getting started..

@alexanderjackson bundle exec ./example.rb ./events.xml how could i do this in a ruby script

Thanks

@alexanderjackson bundle exec ./example.rb ./events.xml how could i do this in a ruby script

Thanks

Not sure what you mean. ./example.rb is already a ruby script which is executed with bundler.