Download the PHP package bluebillywig/bb-sapi-php-sdk without Composer
On this page you can find all versions of the php package bluebillywig/bb-sapi-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bb-sapi-php-sdk
Blue Billywig SAPI PHP SDK
This PHP SDK provides abstractions to interact with the Blue Billywig Server API.
Requirements
- PHP >= 8.1
Installation
Quick Start
Authentication
The SDK uses HOTP-based RPC token authentication. You need a token ID and shared secret from your Blue Billywig publication settings.
Clock synchronization: The RPC token is time-based (HOTP). Both client and server clocks must be reasonably synchronized (within the token expiration window, default 120 seconds). Significant clock drift will cause authentication failures.
Entities
All entities support standard CRUD operations where applicable:
| Entity | List | Get | Create | Update | Delete |
|---|---|---|---|---|---|
$sdk->mediaclip |
Yes | Yes | Yes | Yes | Yes |
$sdk->playlist |
Yes | Yes | Yes | Yes | Yes |
$sdk->channel |
Yes | Yes | Yes | Yes | Yes |
$sdk->playout |
Yes | Yes | Yes | Yes | Yes |
$sdk->subtitle |
Yes | Yes | Yes | Yes | Yes |
$sdk->thumbnail |
- | - | - | - | - |
Sync and Async
Every entity method is available in both synchronous and asynchronous variants. Async methods return a GuzzleHttp\Promise\PromiseInterface.
Media Clips
Playlists, Channels, Playouts, Subtitles
File Uploads
The SDK supports single-chunk and multi-part uploads to S3 via presigned URLs.
Async upload using coroutines:
Thumbnails
Response Handling
All entity methods return a SapiResponse object:
Error Handling
The SDK throws typed exceptions for HTTP errors:
Configuration
Development
All versions of bb-sapi-php-sdk with dependencies
composer/ca-bundle Version ^1.3
bluebillywig/vmsrpc Version ^0.97.6