Skip to content

PHP WebEx package for XML and NBR API's (XML API inprogress)

Notifications You must be signed in to change notification settings

rsathishtechit/webex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP package for WebEx NBR API (XML API inprogress)


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

Available NBR API Methods Available (in this package)
deleteMeetingXML No
deleteNBRStorageFile No
downloadFile No
downloadNBRStorageFile Yes
downloadWAVFile No
getMeetingTicket No
getNBRConfIdList No
getNBRRecordIdList Yes
getNBRStorageFile No
getSCXML No
getStorageAccessTicket Yes

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.

About

PHP WebEx package for XML and NBR API's (XML API inprogress)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages