Raphael Paez - 2020-04-23 16:48:52 -
In reply to message 1 from Hamzat Luqman
Class Zoom api allow developers to request information from the Zoom including but not limited to User details, Meeting reports, Dashboard data, etc. as well as perform actions on the Zoom platform on a user’s behalf, such as, creating a new user or deleting meeting recordings.
You can install the package via composer And extend the class (Zoom\ZoomAPI). Implementing functionalities.
User Listing Example:
<?php
require dirname(__DIR__) . '/vendor/autoload.php';
require_once __DIR__ . '/env.php'; // Defines API_KEY and API_SECRET constants
// Make sure the server is using UTC for consistent token generation.
date_default_timezone_set("UTC");
$zoom = new Zoom\ZoomAPI(API_KEY, API_SECRET);
$users_resp = $zoom->users->list( [
'status' => 'active',
'page_size' => 300,
'page_number' => 1
] );
if ( $users_resp['code'] != 200 || ! isset( $users_resp['users'] ) ) {
// TODO: Log error
var_dump($users_resp);
exit;
}
var_dump($users_resp);