Zoom Python client
Zoom API Python client with support for Server to Server Oauth tokens
Install
This package is available on Pypi
pip install zoom-python-client
Requirements
- Python >= 3.9
Usage
Defining your env variables
Define the following variables in your env or your .env file:
- ZOOM_ACCOUNT_ID
- ZOOM_CLIENT_ID
- ZOOM_CLIENT_SECRET
Initialize the ZoomApiClient from environment variables
from zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient.init_from_env()
Initialize the ZoomApiClient from .env
from zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient.init_from_dotenv()
Initialize the ZoomApiClient manually
from zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient(
account_id="<YOUR ACCOUNT ID>",
client_id="<YOUR CLIENT ID>",
client_secret="<YOUR CLIENT SECRET>")
Use the file system to store the access token instead of environment
There are some cases where you might want to store the access token in the file system in order to share its value with other elements of the application (Ex. different pods on a Kubernetes/Openshift application).
You can define the path where the token will be stored, passing the use_path variable to the constructor:
from zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient(
account_id="<YOUR ACCOUNT ID>",
client_id="<YOUR CLIENT ID>",
client_secret="<YOUR CLIENT SECRET>",
use_path="/path/to/token/folder")
How to make API calls
MEETING_ID = "12345"
USER_ID = "abcdfgh"
result = zoom_client.users.get_user(USER_ID)
print(result)
result = zoom_client.meetings.get_meeting(MEETING_ID)
print(result)
Optional: How to configure the logging
from zoom_python_client.utils.logger import setup_logs
setup_logs(log_level=logging.DEBUG)
Available endpoints
users:
- get user details
- get user meetings
meetings:
- get meeting details
- get meeting token
meeting live streams:
- get meeting live stream
- update live stream
- update livestream status
webinars:
- get webinar details
webinar live streams:
- get webinar live stream
- update webinar live stream
- update webinar livestream status - Following Zoom documentation.
zoom rooms:
- get all zoom rooms
- get zoom room details
- get zoom room sensor data
calendars:
- get calendar services list
- get calendar resources list
- get calendar resources by service id list
- get calendar resource details by id
Metadata
Release files for zoom-python-client 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zoom_python_client-0.2.3.tar.gz | 10.1 kB | Without provenance | Details for zoom_python_client-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zoom_python_client-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for zoom_python_client-0.2.3-py3-none-any.whl |
Total release size: 27.1 kB
Release files / zoom_python_client-0.2.3.tar.gz
| Download URL | zoom_python_client-0.2.3.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9772221a451f53bd656fcb50266ebe637c04dcfd07fed236738e04aae2568879
|
|
BLAKE2b-256 checksum How to use checksums |
0f8010314ad5968e6747ae091cb9052967c494ea05b7dca5332ca036b9153aef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.1 Linux/6.14.0-1017-azure
|
Release files / zoom_python_client-0.2.3-py3-none-any.whl
| Download URL | zoom_python_client-0.2.3-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b464e2fa7740c667bb780fa14d02a171a9c808679b48dd46c79a9b3986012a5
|
|
BLAKE2b-256 checksum How to use checksums |
665920d9145a4d60e3bc27b0393769111b37936a89403d0cac37bb7e7cca7305
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.1 Linux/6.14.0-1017-azure
|
Security for zoom-python-client 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.