承接 issetbv/video-publisher-api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

issetbv/video-publisher-api-client

Composer 安装命令:

composer require issetbv/video-publisher-api-client

包简介

VideoPublisher API client for PHP

README 文档

README

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

DESCRIPTION

This is the API client for http://my.videopublisher.io/ API. Use this to simplify the use of the API in PHP.

Example

The API requires a consumer and private key which can be requested at info@my.videopublisher.io.

<?php

include 'src/VideoPublisher/AutoLoader.php';

use VideoPublisher\VideoPublisherClient;
use VideoPublisher\Authentication\KeyPairAuthentication;

//Create an authentication, only consumer/private keypair authentication is supported at this time
$authentication = new KeyPairAuthentication('your_consumer_key', 'your_private_key');
//Create the client. On the next request a token will be requested. 
//This token will be cache in 'your_local_token_cache_folder'.
//Make sure this cache folder is writeable by the application.
$client = new VideoPublisherClient($authentication, 'your_local_token_cache_folder');

//Request a list of all your published streams. 
//This will return an array of VideoPublisher\Domain\SimpleStream objects
$list = $client->listStreams();

//Request a specific stream by Uuid. Uuids can be fetched from SimpleStream objects 
//or from http://my.videopublisher.io/ webinterface.
//Example: http://my.videopublisher.io/publish/1A1A1A1A-1A1A-1A1A-1A1A-1A1A1A1A
//This will return an VideoPublisher\Domain\Stream object 
$client->getStream('1A1A1A1A-1A1A-1A1A-1A1A-1A1A1A1A');

统计信息

  • 总下载量: 2.86k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固