Need help with zoomus?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

prschmid
148 Stars 89 Forks Other 76 Commits 36 Opened issues

Description

Python client library for the Zoom.us REST API v1 and v2

Services available

!
?

Need anything else?

Contributors list

# 83,969
Python
Go
Shell
9 commits
# 187,387
JavaScr...
gmail
Chrome ...
Python
3 commits
# 267,821
GitHub
TypeScr...
Django
python3
2 commits
# 186,184
Python
Shell
Twitter
C
2 commits
# 429,874
Shell
micropy...
debugge...
Jupyter...
1 commit
# 488,576
Python
sendgri...
Django
Shell
1 commit
# 305,589
dcim
JavaScr...
Shell
ipam
1 commit

zoomus

Build Status PyPI Downloads Python Versions PyPI Version PyPI License Code Style: black

https://github.com/prschmid/zoomus

Python wrapper around the Zoom.us REST API v1 and v2.

This work is heavily inspired by the Ruby GEM of the same name, Zoomus

Installation

The easy way

pip install zoomus

Compatibility

zoomus
has been tested for Python 3.6, 3.7, and 3.8 using Travis CI

Note, as this library heavily depends on the requests library, official compatibility is limited to the official compatibility of

requests
.

Example Usage

Create the client v2 (default)

As Zoom's default is now the V2 API, the client will default to the V2 version of the API.

import json
from zoomus import ZoomClient

client = ZoomClient('API_KEY', 'API_SECRET')

user_list_response = client.user.list() user_list = json.loads(user_list_response.content)

for user in user_list['users']: user_id = user['id'] print(json.loads(client.meeting.list(user_id=user_id).content))

What one will note is that the returned object from a call using the client is a requests

Response
object. This is done so that if there is any error working with the API that one has complete control of handling all errors. As such, to actually get the list of users in the example above, one will have to load the JSON from the content of the
Response
object that is returned.

Create the client v1

Zoom has yet to officially remove support for the V1 API, and so to use the V1 API one can instantiate a client as follows.

import json
from zoomus import ZoomClient

client = ZoomClient('API_KEY', 'API_SECRET', version=1)

user_list_response = client.user.list() user_list = json.loads(user_list_response.content)

for user in user_list['users']: user_id = user['id'] print(json.loads(client.meeting.list(host_id=user_id).content))

Using with a manage context

with ZoomClient('API_KEY', 'API_SECRET') as client:
    user_list_response = client.users.list()
    ...

Available methods

  • client.user.create(...)
  • client.user.cust_create(...)
  • client.user.update(...)*
  • client.user.list(...)
  • client.user.pending(...)
  • client.user.get(...)
  • client.user.getbyemail(...)

  • client.meeting.get(...)

  • client.meeting.end(...)

  • client.meeting.create(...)

  • client.meeting.delete(...)

  • client.meeting.list(...)

  • client.meeting.update(...)

  • client.report.getaccountreport(...)

  • client.report.getuserreport(...)

  • client.webinar.create(...)

  • client.webinar.update(...)

  • client.webinar.delete(...)

  • client.webinar.list(...)

  • client.webinar.get(...)

  • client.webinar.end(...)

  • client.webinar.register(...)

  • client.phone.call_logs(...)

  • client.phone.calling_plans(...)

  • client.phone.numbers_get(...)

  • client.phone.numbers_list(...)

  • client.phone.users(...)

Running the Tests

Simple

First, make sure to install the testing requirements

pip install -r requirements-tests.txt

Then run the tests via nose

nosetests

Contributing

Please see the CONTRIBUTING.md for the contribution guidelines for this project.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.