You are here

public function ZoomAPIMeeting::list in Zoom API 7

List Meetings.

@todo the use of the host ID makes this seem like a user specific list. Need to check how to get a list of all meetings. API docs says this does not include instant meetings either.

Parameters

string $host_zoom_user_id: The host user ID.

int $page_size: Number of results per page.

int $page_number: The page number to return.

Return value

array An array of meetings.

File

includes/zoomapi.meeting.classes.inc, line 89
Meeting classes for Zoom API.

Class

ZoomAPIMeeting
Zoom API Meeting Class.

Code

public function list($host_zoom_user_id, $page_size = 30, $page_number = 1) {
  $data = [
    'host_id' => $host_zoom_user_id,
    'page_size' => $page_size,
    'page_number' => $page_number,
  ];
  return $this
    ->sendRequest('meeting/list', $data);
}