PHP Classes


Recommend this page to a friend!

      PHP Zoom API  >  All threads  >  Usage  >  (Un) Subscribe thread alerts  
Summary:Usage sample
Author:Hamzat Luqman
Date:2020-04-23 14:33:23

  1. Usage   Reply   Report abuse  
Picture of Hamzat Luqman Hamzat Luqman - 2020-04-23 14:33:23
Welldone please I am very new to php, can I be guided on how to use this zoom api class on my php project.

  2. Re: Usage   Reply   Report abuse  
Picture of Raphael Paez 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:
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.

$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