zgetro / video-tile-sdk
Forked of offical VideoTileSDK package.
v1.0.3
2022-02-26 17:14 UTC
Requires
- php: >=5.4
- ext-json: *
- guzzlehttp/guzzle: ^7.4
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-16 12:32:10 UTC
README
The VideoTile SDK is a wrapper for the VideoTile API. 13 methods are included as a starting point, more methods may be included during the life-cycle of the SDK & API.
The SDK is provided as a starting point to get to grips with the API, a quick & easy solution that you can include in your code base, alternatively; you can use the API directly and reference the API.
Full documentation can be found here.
Example usage
<?php require __DIR__ . '/index.php'; require __DIR__ . '/vendor/autoload.php'; // special the VideoTile endpoint, your admin token & LMS vendor name. $api = new VideoTile('http://api.videotilehost.com/', 'admin_token', 'vendor_lms_name'); echo $api->generateLoginUrl('user_token');