2017 © Pedro Peláez
 

library zoom-php-client

PHP client library for interacting with the Zoom API

image

silinternational/zoom-php-client

PHP client library for interacting with the Zoom API

  • Monday, February 15, 2016
  • by fillup
  • Repository
  • 7 Watchers
  • 1 Stars
  • 242 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 8 Versions
  • 2 % Grown

The README.md

zoom-php-client

PHP client to interact with the Zoom API., (*1)

We're slowly building out this client as we need the functionality., (*2)

This client is built on top of Guzzle, the PHP HTTP Client. Guzzle has a simple way to create API clients by describing the API in a Swagger-like format without the need to implement every method yourself. So adding support for more Zoom APIs is relatively simple. If you want to submit a pull request to add another feature, please do. If you don't know how to do that, ask us and we might be able to add it in for you., (*3)

Zoom API Docs

https://support.zoom.us/hc/en-us/sections/200305463-API, (*4)

Zoom API Authentication

Zoom uses an API key and secret. See Getting Started with REST API - Zoom Support Center for details., (*5)

Install

Installation is simple with Composer:, (*6)

$ composer require silinternational/zoom-php-client

Usage

Example:, (*7)

<?php

use Zoom\UserClient;

$userClient = new UserClient([
    'api_key' => 'abc',
    'api_secret' => '123',
]);

$user = $userClient->getByEmail([
    'email' => 'test@abc.com',
    'login_type' => 100,
]);

Side Note: For the list of possible login_type values, see Zoom's API documentation (at the link above)., (*8)

WARNING: Zoom API SSL Issues

When testing this on my Windows 7 PC using a Git Bash console (from Git 2.5), the following error is returned:, (*9)

GuzzleHttp\Command\Exception\CommandException: Error executing command: cURL error 60: See http://curl.haxx.se/libcurl/c/libcurl-errors.html

This appears to mean that whatever SSL CA bundle cURL is using on my computer, it does not contain the root CA that Zoom's API uses. To pass parameters to Guzzle related to this, you can do something like the following:, (*10)

$userClient = $this->getUserClient([
    // ...
    'http_client_options' => [
        'defaults' => [
            'verify' => __DIR__ . '/../../ca-bundle.crt',
        ],
    ],
]);

In this example, I pointed verify at a downloaded copy of the CA bundle that Mozilla provides, as mentioned in the Guzzle documentation about the verify option., (*11)

Tests

To run the unit tests for this, copy the /tests/real-test-data.local.php.dist file to /tests/real-test-data.local.php and enter real data to test with., (*12)

Guzzle Service Client Notes

The Versions

15/02 2016

dev-master

9999999-dev

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

15/02 2016

0.2.4

0.2.4.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

15/02 2016

dev-develop

dev-develop

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

11/02 2016

0.2.3

0.2.3.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

10/02 2016

0.2.2

0.2.2.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

02/02 2016

0.2.1

0.2.1.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

01/02 2016

0.2.0

0.2.0.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom

06/01 2016

0.1.0

0.1.0.0

PHP client library for interacting with the Zoom API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

zoom