用于缩放视频API的Python包装器
pyzoom的Python项目详细描述
用于Zoom API的Python包装器
这个库正在进行中,其中包括文档。并不是所有实现的方法都记录在这里,
所以请探索ZoomClient
类。在
链接:
安装
使用pip:
pip install -U pyzoom
使用poetry:
poetry add pyzoom
使用
frompyzoomimportZoomClientclient=ZoomClient('YOUR_ZOOM_API_KEY','YOUR_ZOOM_API_SECRET')
从环境变量
实例化
您还可以在环境变量ZOOM_API_KEY
中存储密钥和密钥时创建客户机实例
和ZOOM_API_SECRET
。在
^{pr2}$
会议
创建会议并添加注册人
frompyzoomimportZoomClientfromdatetimeimportdatetimeasdtclient=ZoomClient.from_environment()# Creating a meetingmeeting=client.meetings.create_meeting('Auto created 1',start_time=dt.now().isoformat(),duration_min=60,password='not-secure')# Adding registrantsclient.meetings.add_meeting_registrant(meeting.id,first_name='John',last_name='Doe',email='john.doe@example.com')
您可以使用client.meetings.add_and_confirm_registrant
来确认自动添加
非公开会议的注册者。在
原始API方法
您还可以使用库向API发出原始请求:
frompyzoomimportZoomClientclient=ZoomClient.from_environment()# Get selfresponse=client.raw.get('/me')# Get all pages of meeting participantsresult_dict=client.raw.get_all_pages('/past_meetings/{meetingUUID}/participants')
包装注意事项
这个项目使用优秀的poetry进行打包。请阅读一下,让我们开始使用
pyproject.toml
文件作为标准。阅读更多:
支持
免责声明
这个库与Zoom Video Communications,Inc.无关。它是一个开源项目
旨在简化这项突然非常流行的服务的工作。在
标签:
- 项目
推荐PyPI第三方库
frompyzoomimportZoomClientclient=ZoomClient('YOUR_ZOOM_API_KEY','YOUR_ZOOM_API_SECRET')
从环境变量
实例化您还可以在环境变量ZOOM_API_KEY
中存储密钥和密钥时创建客户机实例
和ZOOM_API_SECRET
。在
会议
创建会议并添加注册人
frompyzoomimportZoomClientfromdatetimeimportdatetimeasdtclient=ZoomClient.from_environment()# Creating a meetingmeeting=client.meetings.create_meeting('Auto created 1',start_time=dt.now().isoformat(),duration_min=60,password='not-secure')# Adding registrantsclient.meetings.add_meeting_registrant(meeting.id,first_name='John',last_name='Doe',email='john.doe@example.com')
您可以使用client.meetings.add_and_confirm_registrant
来确认自动添加
非公开会议的注册者。在
原始API方法
您还可以使用库向API发出原始请求:
frompyzoomimportZoomClientclient=ZoomClient.from_environment()# Get selfresponse=client.raw.get('/me')# Get all pages of meeting participantsresult_dict=client.raw.get_all_pages('/past_meetings/{meetingUUID}/participants')
包装注意事项
这个项目使用优秀的poetry进行打包。请阅读一下,让我们开始使用
pyproject.toml
文件作为标准。阅读更多:
支持
免责声明
这个库与Zoom Video Communications,Inc.无关。它是一个开源项目 旨在简化这项突然非常流行的服务的工作。在
- 项目
标签: