Zoom API client for Python
Project description
Zoom Python client
⚠️ WIP: This project is a WIP and therefore may contain bugs. Use it at your own risk and keep this in mind if you decide to use it in production environments.
Zoom API Python client with support for Server to Server Oauth tokens
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 src.zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient.init_from_env()
Initialize the ZoomApiClient from .env
from src.zoom_python_client.zoom_api_client import ZoomApiClient
zoom_client = ZoomApiClient.init_from_dotenv()
Initialize the ZoomApiClient manually
from src.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>")
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.zoom_api_client import ZoomApiClient
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zoom-python-client-0.0.4.tar.gz
(33.2 kB
view details)
Built Distribution
File details
Details for the file zoom-python-client-0.0.4.tar.gz
.
File metadata
- Download URL: zoom-python-client-0.0.4.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d38a4ec38a0d55c7479f60bc89070392ce55dbfd65890eb42f72da423fbb7a89 |
|
MD5 | 35cebc76a5e32242dc8ed7b64ed4cfe5 |
|
BLAKE2b-256 | c7411bb44949f229990baa179cefd746c30a403ddd9381ebfe6a7578fba1374c |
File details
Details for the file zoom_python_client-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: zoom_python_client-0.0.4-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55b22729d03dcaa0c564b5b5577b70cf7d854639646d9fefc4977930baecf18d |
|
MD5 | e1f12ac4ddd6319a57a3b6ce544a80ca |
|
BLAKE2b-256 | 1b9087652c9e8737a4fce5854d9bbafe49f3f99d0a74e69f09c136f879d5168e |