This library is work in progress, and that includes documentation. Not all of the implemented methods are documented here,
so please explore the ZoomClient
class.
Links:
Using pip:
pip install -U pyzoom
Using poetry:
poetry add pyzoom
from pyzoom import ZoomClient
client = ZoomClient('YOUR_ZOOM_API_KEY', 'YOUR_ZOOM_API_SECRET')
You can also create an instance of client when storing your key and secret in environment variables ZOOM_API_KEY
and ZOOM_API_SECRET
.
from pyzoom import ZoomClient
client = ZoomClient.from_environment()
from pyzoom import ZoomClient
from datetime import datetime as dt
client = ZoomClient.from_environment()
# Creating a meeting
meeting = client.meetings.create_meeting('Auto created 1', start_time=dt.now().isoformat(), duration_min=60, password='not-secure')
# Update a meeting
meeting = client.meetings.update_meeting('Auto updated 1', meeting_id = meeting.id ,start_time=dt.now().isoformat(), duration_min=60,password='not-secure')
# Adding registrants
client.meetings.add_meeting_registrant(meeting.id, first_name='John', last_name='Doe', email='john.doe@example.com')
You can use client.meetings.add_and_confirm_registrant
to also confirm auto added
registrants to a closed meeting.
You can also use the library for making raw requests to the API:
from pyzoom import ZoomClient
client = ZoomClient.from_environment()
# Get self
response = client.raw.get('/me')
# Get all pages of meeting participants
result_dict = client.raw.get_all_pages('/past_meetings/{meetingUUID}/participants')
This project uses the excellent poetry for packaging. Please read about it and let's all start using
pyproject.toml
files as a standard. Read more:
This library is not related to Zoom Video Communications, Inc. It's an open-source project that aims to simplify working with this suddenly very popular service.