openveo/rest-php-client
最新稳定版本:3.0.0
Composer 安装命令:
composer require openveo/rest-php-client
包简介
REST client for OpenVeo Web Service
README 文档
README
OpenVeo PHP REST client to interact with OpenVeo Web Service.
Documentation
Installation
Install the latest version with:
composer require openveo/rest-php-client
Usage
<?php require_once('lib/openveo-rest-php-client/autoload_dist.php'); use Openveo\Client\Client as OpenveoClient; $webServiceUrl = 'Openveo Web service url'; $clientId = 'Your application client id generated by OpenVeo'; $clientSecret = 'Your application client secret generated by OpenVeo'; $certificatePath = 'Path of the OpenVeo certificate on your server if OpenVeo is in HTTPS'; // Instanciate client with url, client id, client secret and eventually a certificate $client = new OpenveoClient($webServiceUrl, $clientId, $clientSecret, $certificatePath); // Make web service call $results = $client->get('webServiceEndPoint?param1=value1¶m2=value2'); var_dump($results); ?>
Contributors
Maintainer: Veo-Labs
License
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0
- 更新时间: 2015-10-29