pip install asyncbbb
import asyncio
from asyncbbb import BigBlueButton, BigBlueButtonException
async def test():
bbb = BigBlueButton(
"https://<HOSTNAME>/bigbluebutton", "<SHARED_SECRET>"
)
try:
response = await bbb.create(name="Test Meeting", meeting_id="TestMeeting", allow_requests_without_session=True)
except BigBlueButtonException as e:
if e.message_key == "idNotUnique":
pass
data = await bbb.join(full_name="Sebastian Lübke", meeting_id="TestMeeting", redirect=False, role="MODERATOR")
print(data)
asyncio.run(test())
Write tests