grove.connectors.zoom package

Zoom connectors for Grove.

Submodules

grove.connectors.zoom.activities module

Zoom activity log connector for Grove.

class grove.connectors.zoom.activities.Connector(config: ConnectorConfig, context: Dict[str, str])[source]

Bases: BaseConnector

LOG_ORDER = 'REVERSE_CHRONOLOGICAL'
NAME = 'zoom_activities'
POINTER_PATH = 'time'
property client_id

Fetches the Zoom ClientID from the configuration.

This is required as this is a third authentication element required by Zoom.

collect()[source]

Collects all logs from the Zoom Activity API.

grove.connectors.zoom.api module

Zoom API client.

As the Python Zoom client does not currently support Audit API, this client has been created in the interim.

class grove.connectors.zoom.api.Client(identity: str | None = None, client_id: str | None = None, key: str | None = None, retry: bool | None = True)[source]

Bases: object

get_access_token()[source]

Use Basic Auth to get Bearer Token.

This is required by Zoom to auth the integration and then grant the bearer token to access the API.

To get the access token the accountid, grant_type has to be in the url and not in the data.

Returns:

If the request is successful, the bearer token is returned to the Client class header.

get_activities(from_date: str | None, to_date: str | None = None, cursor: str | None = None) AuditLogEntries[source]

Fetches a list of activity logs from Zoom which match the provided filters.

Parameters:
  • from_date – The required date of the earliest log entry.

  • to_date – The required date of the latest log entry.

  • cursor – The cursor to use when paging.

Returns:

AuditLogEntries object containing a pagination cursor, and log entries.

get_logs(endpoint: str, result_field: str, to_date: str | None = None, from_date: str | None = None, cursor: str | None = None) AuditLogEntries[source]

Fetches a list of logs from Zoom which match the provided filters.

Parameters:
  • from_date – The required date of the earliest log entry.

  • to_date – The required date of the latest log entry.

  • limit – The maximum number of items to include in a single response.

  • cursor – The ‘next_page_token’ returned from a request.

Returns:

AuditLogEntries object containing a pagination cursor, and log entries.

get_operationlogs(from_date: str | None, to_date: str | None = None, cursor: str | None = None) AuditLogEntries[source]

Fetches a list of audit logs from Zoom which match the provided filters.

Parameters:
  • from_date – The required date of the earliest log entry.

  • to_date – The required date of the latest log entry.

  • cursor – The cursor to use when paging.

Returns:

AuditLogEntries object containing a pagination cursor, and log entries.

grove.connectors.zoom.operationlogs module

Zoom activity log connector for Grove.

class grove.connectors.zoom.operationlogs.Connector(config: ConnectorConfig, context: Dict[str, str])[source]

Bases: BaseConnector

LOG_ORDER = 'REVERSE_CHRONOLOGICAL'
NAME = 'zoom_operationlogs'
POINTER_PATH = 'time'
property client_id

Fetches the Zoom ClientID from the configuration.

This is required as this is a third authentication element required by Zoom.

collect()[source]

Collects all logs from the Zoom Activity API.