Skip to main content

API for bigbluebutton.

Project description

bigbluebutton
-------------

The work of this project is derivated from https://github.com/schallis/django-bigbluebutton 98f2259fa3 by Steve Challis.

It is a wrapper for accessing the API of bigbluebutton http://code.google.com/p/bigbluebutton/wiki/API


A simple example::

import argparse
from bigbluebutton import MeetingSetup, Meeting
import bbb_settings


if __name__ == '__main__':
PARSER = argparse.ArgumentParser(description='creates and join a session')
PARSER.add_argument('--meeting_name', dest="meeting_name", type=str, required=True,
help='name of the meeting')
PARSER.add_argument('--meeting_id', dest='meeting_id', required=True,
help='id for the meeting')
PARSER.add_argument('--moderator', dest='moderator', required=True,
help='name of the meeting moderator')
PARSER.add_argument( '--moderator_password', dest='moderator_password', required=True,
help='password for moderator')
PARSER.add_argument( '--attendee_password', dest='attendee_password', required=True,
help='password for attendee')
PARSER.add_argument( '--url', dest='url', required=True,
help='pre upload url')

ARGS = PARSER.parse_args()

session = MeetingSetup(bbb_settings.BBB_API_URL, bbb_settings.SALT,
ARGS.meeting_name, ARGS.meeting_id,
ARGS.attendee_password, ARGS.moderator_password,
pre_upload_slide=ARGS.url)
session.create_meeting()
print "meeting expires if noone joins in"

meeting = Meeting(bbb_settings.BBB_API_URL, bbb_settings.SALT)
print "MODERATOR:"
print meeting.join_url(ARGS.meeting_id, ARGS.moderator, ARGS.moderator_password)
print '-------------------------------------------'

print "RANDOM USER:"
print meeting.join_url(ARGS.meeting_id, 'RANDOM', ARGS.attendee_password)
print '-------------------------------------------'

print "ALL MEETINGS"
print meeting.get_meetings()
print '-------------------------------------------'

print "IS RUNNING (meeting is only running after someone has joined in)"
print meeting.is_running(ARGS.meeting_id)
print '-------------------------------------------'

print "END MEETING URL"
print meeting.end_meeting_url(ARGS.meeting_id, ARGS.moderator_password)
print '-------------------------------------------'


if meeting.is_running(ARGS.meeting_id):
print "END MEETING"
meeting.end_meeting(ARGS.meeting_id, ARGS.moderator_password)
print '-------------------------------------------'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

bigbluebutton-0.5.0.zip (10.1 kB view details)

Uploaded Source

bigbluebutton-0.5.0.tar.gz (6.5 kB view details)

Uploaded Source

bigbluebutton-0.5.0.tar.bz2 (6.5 kB view details)

Uploaded Source

File details

Details for the file bigbluebutton-0.5.0.zip.

File metadata

  • Download URL: bigbluebutton-0.5.0.zip
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bigbluebutton-0.5.0.zip
Algorithm Hash digest
SHA256 12b2758e9c2660688fb0a8ec36fa3aee3ec0fc1dfa3cabf954bc690d06553296
MD5 4bb253c6242658ed7705582b09351af7
BLAKE2b-256 c94a0fcdc83a91308f0dcb3f0cd57ff4ca29b866ee4963b8d5f956627230d0b4

See more details on using hashes here.

File details

Details for the file bigbluebutton-0.5.0.tar.gz.

File metadata

File hashes

Hashes for bigbluebutton-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f463e09c450f611d3b35c11dcd7b290b72c12a83f93e24b27100cb7eeb3b43ba
MD5 efa315e7c3d59c19f7322a67e6a7da4c
BLAKE2b-256 2bd83773e40e131d14e40d1d6d331ee25cac5cba15f70c534d714c202a2af2d9

See more details on using hashes here.

File details

Details for the file bigbluebutton-0.5.0.tar.bz2.

File metadata

File hashes

Hashes for bigbluebutton-0.5.0.tar.bz2
Algorithm Hash digest
SHA256 e994a12d3f33e8cb9cfc6947de0b1608e2ad4c5d4d024be405a2553ff24fd27e
MD5 e84f0ffb0d36e413860017cac4c677e2
BLAKE2b-256 50bad5ea3a2fc56f591e6816840e0b81b0e7edbaa050f7cec2dc2311c6cd5574

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page