https://github.com/rsathishtechit/webex
PHP WebEx package for XML and NBR API's (XML API inprogress)
https://github.com/rsathishtechit/webex
nbr package php php5 php7 webex webex-nbr-apis webex-xml-apis
Last synced: about 1 year ago
JSON representation
PHP WebEx package for XML and NBR API's (XML API inprogress)
- Host: GitHub
- URL: https://github.com/rsathishtechit/webex
- Owner: rsathishtechit
- Created: 2017-10-03T10:39:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-28T21:31:44.000Z (over 6 years ago)
- Last Synced: 2025-03-23T22:25:16.966Z (over 1 year ago)
- Topics: nbr, package, php, php5, php7, webex, webex-nbr-apis, webex-xml-apis
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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('', '', '');
$nbr->setServiceUrl(''); /** Don't append slash(/) at the end **/
$nbr->generateTicket();
```
### To download recording (Response will be in multipart format)
```
$nbr->downloadRecording('');
```
### 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.