API wrapper for Zoom written in Python
Project description
zoom-python
zoom-python is an API wrapper for Zoom, written in Python.
This library uses Oauth2 for authentication.
Installing
pip install zoom-python
Usage
from zoom.client import Client
client = Client(client_id, client_secret, redirect_uri=None)
To obtain and set an access token, follow this instructions:
- Get authorization URL
url = client.authorization_url(code_challenge, redirect_uri=None, state=None)
# redirect_uri required if not given in Client.
- Get access token using code
response = client.get_access_token(code, code_verifier)
# code_verifier is the same code_challenge
- Set access token
client.set_token(access_token)
If your access token expired, you can get a new one using refresh token:
response = client.refresh_access_token(refresh_token)
And then set access token again... Read more about Zoom Oauth: https://developers.zoom.us/docs/integrations/oauth/
- Get current user
user = client.get_current_user()
- List Users
users = client.list_users()
Meetings
- List meetings
meetings = client.list_meetings()
- Get a meeting
meeting = client.get_meeting(meeting_id)
- Create Meeting
meeting = client.create_meeting(
self,
topic: str,
duration: int,
start_time: str,
type: int = 2,
agenda: str = None,
default_password: bool = False,
password: str = None,
pre_schedule: bool = False,
schedule_for: str = None,
timezone: str = None,
recurrence: dict = None,
settings: dict = None,
)
More info: https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingCreate
- Add meeting registrant (this feature requires premium auth)
meeting = client.add_meeting_registrant(
self,
meeting_id,
email: str,
first_name: str,
last_name: str = None,
address: str = None,
city: str = None,
state: str = None,
zip: str = None,
country: str = None,
phone: str = None,
comments: str = None,
industry: str = None,
job_title: str = None,
org: str = None,
no_of_employees: str = None,
purchasing_time_frame: str = None,
role_in_purchase_process: str = None,
language: str = None,
auto_approve: bool = None,
)
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zoom_python-0.1.1.tar.gz.
File metadata
- Download URL: zoom_python-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9951630dbf50acc8f8c5ba98cd1e9058af7fea8e951ebacc7fa7bc2c9f10e264
|
|
| MD5 |
33df0b99f79fecfd3fd9c791143b8845
|
|
| BLAKE2b-256 |
a8b78b492112cd41cce6649e5a8d1e9083f30555ae2fff30f6bdbfe371ee5fa0
|
File details
Details for the file zoom_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: zoom_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47cdbc5c2c810711d82fcfc5c5228b6117d928e9a11ded4a85e2415cc0ccaa1a
|
|
| MD5 |
58e828c3074c8e8fbee6bf03741f2a90
|
|
| BLAKE2b-256 |
bde282d242e2417a5b17caa1cc20d3709691538faa46fc50aa56076d2a64e32d
|