forked from move-coop/parsons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add auth guide, improve overview and quick start * use underscore for private method, correct return value in docstring for get_past_meeting
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,24 +5,40 @@ Zoom | |
Overview | ||
******** | ||
|
||
`Zoom <https://zoom.us>`_ is a video conferencing platform. | ||
`Zoom <https://zoom.us>`_ is a video conferencing platform. This connector supports | ||
fetching users, fetching meetings, fetching metadata for past meetings, and fetching | ||
participants of past meetings via the `Zoom API <https://marketplace.zoom.us/docs/api-reference/zoom-api/>`_. | ||
|
||
.. note:: | ||
Authentication | ||
The ``Zoom`` class supports `JSON Web Token Authentication <https://marketplace.zoom.us/docs/guides/auth/jwt>`_. | ||
You must `Create a JWT App <https://marketplace.zoom.us/docs/guides/build/jwt-app>`_ to obtain | ||
an API Key and API Secret for authentication. | ||
|
||
*********** | ||
Quick Start | ||
*********** | ||
|
||
**Get Meeting Participants** | ||
To instantiate the ``Zoom`` class, you can either store your Zoom API | ||
key and secret as environmental variables (``ZOOM_API_KEY`` and ``ZOOM_API_SECRET``, | ||
respectively) or pass them in as arguments: | ||
|
||
.. code-block:: python | ||
from parsons import Zoom | ||
# If environmental variables ZOOM_API_KEY and ZOOM_API_SECRET | ||
# are set, no need for arguments | ||
zoom = Zoom() | ||
# Get a table of host's meetings via their email or user id. | ||
mtgs_tbl = zoom.get_meetings(bob@bob.com) | ||
# If providing authentication credentials via arguments | ||
zoom = Zoom(api_key='my_api_key', api_secret='my_api_secret') | ||
# Get a table of host's meetings via their email or user id | ||
meetings_tbl = zoom.get_meetings('[email protected]') | ||
# Get the list of participants in a past meeting | ||
par_tbl = zoom.get_past_meeting_participants('asdf123ads') | ||
participants_tbl = zoom.get_past_meeting_participants('my_meeting_id') | ||
*** | ||
API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters