sathish/webex

PHP package for CISCO webex XML and NBR API's

v0.1.0 2017-10-05 10:25 UTC

This package is auto-updated.

Last update: 2024-11-09 19:41:10 UTC


README

Installation

To install this package you will need:

  • PHP >= 5.3

Run this command to install via composer

composer require sathish/webex:dev-master

or edit the composer.json

"require": {
    "sathish/webex": "dev-master"
}

then run

composer install

API Implementation

To know more about WebEx NBR API https://developer.cisco.com/site/webex-developer/develop-test/nbr-web-services-api/api-functions.gsp

Usage

    use Sathish\Webex\Nbr\WebExNBR;
    
    $nbr = new WebExNBR('<admin username>', '<admin password>', '<site id>');
    $nbr->setServiceUrl('<NBR API URL>'); /** Don't append slash(/) at the end **/
    $nbr->generateTicket();

To download recording (Response will be in multipart format)

    $nbr->downloadRecording('<recoding id>');

Retrieve recording list

   $nbr->recordingList();

Regenerate ticket after 1 hour

   $nbr->refreshTicket();

Use Riverline\MultiPartParse package to parse the downloadRecording method response on success. For more info https://github.com/Riverline/multipart-parser

Note: PRs are welcomed.