PHP Classes

Usage

Recommend this page to a friend!

      PHP Zoom API  >  All threads  >  Usage  >  (Un) Subscribe thread alerts  
Subject:Usage
Summary:Usage sample
Messages:2
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:
<?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);

 
For more information send a message to info at phpclasses dot org.