john_zuk/php-click-meeting-api

Clickmeeting API client

2.0.0 2021-01-21 21:49 UTC

This package is auto-updated.

Last update: 2024-04-22 05:06:58 UTC


README

Requirements

  • PHP >= 7.1
  • Guzzle library,
  • (optional) PHPUnit to run tests.

Installation

Via composer

composer require john_zuk/php-click-meeting-api guzzlehttp/guzzle:^7.2 http-interop/http-factory-guzzle:^1.0

General API Usage

<?php

// This file is generated by Composer
require_once __DIR__ . '/vendor/autoload.php';

$client = new \ClickMeeting\Client();
$client->authenticate('YourAPIKeyHere');

$client->conferences()->add([
    'name' => 'test',
    'room_type' => 'webinar',
    'permanent_room' => 0,
    'access_type' => 3,
    'registration' => [
        'enabled' => true,
    ],
]);

$client->conferences()->edit(321321, [
    'name' => 'test-edit',
]);

$client->conferences()->delete(321321);