https://github.com/er28-0652/zoomus
Python libraries for zoom.us
https://github.com/er28-0652/zoomus
python python-3 zoom
Last synced: about 2 months ago
JSON representation
Python libraries for zoom.us
- Host: GitHub
- URL: https://github.com/er28-0652/zoomus
- Owner: er28-0652
- Created: 2017-11-15T14:47:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T19:22:22.000Z (over 8 years ago)
- Last Synced: 2025-01-01T20:09:47.986Z (over 1 year ago)
- Topics: python, python-3, zoom
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zoomus
scripts for zoom.us
# Usage
use as zoon client
```python
from zoom_client import ZoomClient
ZOOM_URL = 'YOUR_OWN_WEBHOOK_URL'
ZOOM_TOKEN = 'YOUR_TOKEN_FOR_ZOOM'
zoom = ZoomClient(ZOOM_URL, ZOOM_TOKEN)
# just send message as body
zoo.send_msgm('hello zoom')
# add title and summary
zoom.send_msg('hello zoom', title='title', summary='summary)
# add send botton
zoom.send_msg('hello zoom', action='send')
```
use as log handler
```python
import logging
from zoom_handler import ZoomLogHandler
ZOOM_URL = 'YOUR_OWN_WEBHOOK_URL'
ZOOM_TOKEN = 'YOUR_TOKEN_FOR_ZOOM'
zoom_handler = ZoomLogHandler(ZOOM_URL, ZOOM_TOKEN)
logger = logging.getLogger(__name__)
logger.addHandler(zoom_handler)
logger.setLevel(logging.INFO)
logger.info(('summary', 'body'))
```