zgetro / video-tile-sdk
基于官方VideoTileSDK包的衍生。
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-09-12 16:15:31 UTC
README
VideoTile SDK 是 VideoTile API 的包装器。[a href="http://api.videotilehost.com" rel="nofollow noindex noopener external ugc">VideoTile API
SDK作为理解API的起点提供,是一个快速且易于实现解决方案,你可以将其包含在你的代码库中;或者,你可以直接使用API并引用API。
完整的文档可以在这里找到。
示例用法
<?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');