openveo / rest-php-client
REST client for OpenVeo Web Service
3.0.0
2018-10-16 14:31 UTC
Requires
- php: >=5.3.0
- ext-curl: *
This package is auto-updated.
Last update: 2024-04-17 08:24:53 UTC
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