【文件属性】:
文件名称:rev_api:PHP中的rev.com api
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-09 13:30:50
PHP
rev_api
PHP中的rev.com api
例子
//Start the Rev api client
$rev = new Rev('client api key', 'user api key');
//upload a video
$input = $rev->uploadVideoUrl(self::MEDIA_URL);
//Create an order
$order = new CaptionOrderSubmission($rev);
//Add the video to the order
$order->addInput($input);
//Set some order details
$order->setClientRef('example reference number');
$order->setComment('example comment');
【文件预览】:
rev_api-master
----.gitignore(272B)
----library()
--------RevAPI()
----.travis.yml(153B)
----LICENSE(2KB)
----composer.json(540B)
----composer.lock(36KB)
----README.md(2KB)
----phpunit.xml(966B)
----tests()
--------IntegrationTests()
--------bootstrap.php(662B)
--------config.sample.php(196B)