Skip to main content

API wrapper for Zoom written in Python

Project description

zoom-python

zoom-python is an API wrapper for Zoom, written in Python.
This library uses Oauth2 for authentication.

Installing

pip install zoom-python

Usage

from zoom.client import Client
client = Client(client_id, client_secret)

To obtain and set an access token, follow this instructions:

  1. Get authorization URL
url = client.authorization_url(redirect_uri)
  1. Get access token using code
response = client.get_access_token(code)
  1. Set access token
client.set_token(access_token)

If your access token expired, you can get a new one using refresh token:

response = client.refresh_access_token(refresh_token)

And then set access token again... Read more about Zoom Oauth: https://developers.zoom.us/docs/integrations/oauth/

- Get current user

user = client.get_current_user()

- List Users

users = client.list_users()

Meetings

- List meetings

meetings = client.list_meetings()

- Get a meeting

meeting = client.get_meeting(meeting_id)

- Create Meeting

meeting = client.create_meeting(
        self,
        topic: str,
        duration: int,
        start_time: str,
        type: int = 2,
        agenda: str = None,
        default_password: bool = False,
        password: str = None,
        pre_schedule: bool = False,
        schedule_for: str = None,
        timezone: str = None,
        recurrence: dict = None,
        settings: dict = None,
    )

More info: https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingCreate

- Add meeting registrant (this feature requires premium auth)

meeting = client.add_meeting_registrant(
        self,
        meeting_id,
        email: str,
        first_name: str,
        last_name: str = None,
        address: str = None,
        city: str = None,
        state: str = None,
        zip: str = None,
        country: str = None,
        phone: str = None,
        comments: str = None,
        industry: str = None,
        job_title: str = None,
        org: str = None,
        no_of_employees: str = None,
        purchasing_time_frame: str = None,
        role_in_purchase_process: str = None,
        language: str = None,
        auto_approve: bool = None,
    )

More info: https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate

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-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zoom_python-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file zoom_python-0.1.0.tar.gz.

File metadata

  • Download URL: zoom_python-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for zoom_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a74d2a76a1bbcf806a7f26725d6c9e32e682a5ae473343500c8c3cf74d15f7a
MD5 00e779eb71cd90ff71c6d4487402b5a8
BLAKE2b-256 8c1810301be1b5c93e591d88e2903fa5789525e2ebbc3e198b684adaff4246d4

See more details on using hashes here.

File details

Details for the file zoom_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zoom_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for zoom_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74507a15d563a7950fdafcd1f3995b81fdecf36ff9646966176ad05274977fdf
MD5 3140ad1851b06f904773163e7fa117bf
BLAKE2b-256 bbe1cc6342b65f28ddf75ceeb5c40e3d3e06bb1af48a4aa394e176bc5d8df1f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page