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
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
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();
$nbr->downloadRecording('<recoding id>');
$nbr->recordingList();
$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.