BigBlueButton API command-line client
Project description
BigBlueButton REST API command-line client
This is a small but useful command-line client for controlling meetings and recordings on a BigBlueButton server or cluster directly via the REST API. It allows administrators to bypass front-end applications (greenlight, moodle or alternatives) and directly access the backing BBB servers for administrative tasks, monitoring or testing.
The module can also be imported as a python library, but please note that this project is not yet considered stable in any way. A stable and more usable API for python scripting might follow.
Install
# Install via pip
sudo pip install -U bbbctl
# or manually:
sudo curl -L https://raw.githubusercontent.com/defnull/bbbctl/master/src/bbbctl.py -o /usr/local/bin/bbbctl
sudo chmod +x /usr/local/bin/bbbctl
Usage
# Only required for external BBB servers:
export BBBCTL_SERVER="https://bbb.example.com/"
export BBBCTL_SECRET="..."
bbbctl meeting list # Test your secret by listing current meetings
bbbctl -h # Print help for a list of commands
If run directly on a BBB server with sufficient permissions, server URL and secret will be fetched from local BBB config files automatically.
Command overview
You can get detailed help and a list of all parameters with bbbctl -h
or bbbctl <command> -h
.
meeting
Create, list, join, inspect or end meetingslist
List all meetingsinfo <meetingID>
Show info about a meetingcreate <meetingID> <title>
Create a new meetingjoin <meetingID> <displayName>
Generate join linksend <meetingID>
Forcefully end a meetingnuke
Forcefully end ALL meetings (be careful)
record
Work with recordingslist
List all recordingsinfo <recordID>
Show info about a recordingpublish <recordID>
Publish an unpublished recordingunpublish <recordID>
Unpublish (hide) recording)delete <recordID>
Delete a recording (be careful)
Output format
The default output format is a human readable plain text format. You can switch to a more compact version with --format=compact
. Other formats that are better suited for scripted usage are also supported: json
, jsonline
or xml
License
Copyright (c) 2020-2022, Marcel Hellkamp.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bbbctl-0.1.0.tar.gz
.
File metadata
- Download URL: bbbctl-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e0a378e7db068ad59c675c66e7582c7f115707d8b8441c0f9f9a595c5f7cc36 |
|
MD5 | 292831b0472cb6aa3c3f649aae01ec49 |
|
BLAKE2b-256 | 952d5a993d67c45eb5a4ae26fe6cafa42cb4e50ade21854501f893601112b9e6 |
File details
Details for the file bbbctl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bbbctl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed4b89e51fbb4fec6f8c85e22f583ba18150f8543377f103842723f5f356d35 |
|
MD5 | 09396c198b198e595838f242c24aafa7 |
|
BLAKE2b-256 | 22cca7a4724ff2dc3735a86d2770b48ed72ece7557d34c81a1c0f04aa5ae10ff |