Monday, December 14, 2015

Python Wrapper around Zoom.us REST API

We just released a python wrapper around the zoom.us REST API at work. Before going any further, I'd like to send a big shoutout to Màxim Colls who wrote the Ruby Gem with the same name that this work was based on.

The library is on Pypi and can easily be installed via pip:
pip install zoomus

As you would expect, this wrapper just makes some of the usual things you do with the Zoom API a little easier. For example, this is how you would list all of the meetings that the users in your account have.
from zoomus import ZoomClient

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

for user in client.user.list():
    user_id = user['id']
    print client.meeting.list('host_id': user_id)

As it currently stands this library is still in beta, but we will be adding a couple enhancements in the not too distant future (e.g. better error handling). Of course, you are always welcome to contribute to the github project. Hopefully this will be useful to you as well!

No comments:

Post a Comment