2017 © Pedro Peláez
 

library xmaven-php-sdk

PHP Wrapper for Xmaven Remote Web Services

image

venatus/xmaven-php-sdk

PHP Wrapper for Xmaven Remote Web Services

  • Tuesday, May 12, 2015
  • by cwbeck
  • Repository
  • 2 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

XMAVEN SDK for PHP

@XmavenVideo on Twitter, (*1)

This library has been created for PHP developers using the Xmaven platform. It provides a very lightweight wrapper to communicate with Xmaven API. Getting started could not be easier, find our package on packagist: https://packagist.org/packages/venatus/xmaven-php-sdk, (*2)

Install by adding { .. "venatus/xmaven-php-sdk": "0.1" .. } to your composer.json file., (*3)

The wrapper creates a Guzzle request object. This can be used to further extends the library where required. More information about Guzzle can be found here: http://guzzle.readthedocs.org/en/latest/, (*4)

Installing via Composer

The recommended way to install Guzzle is through Composer., (*5)

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of Guzzle:, (*6)

composer.phar require venatus/xmaven-php-sdk

After installing, you need to require Composer's autoloader:, (*7)

require 'vendor/autoload.php';

PHP Examples

<?php
require 'vendor/autoload.php';

//Create instance of the API Wrapper
$xm = new Xmaven\API($userId, $privateKey);

//Get all media items
$res = $xm->makeRequest('GET','/v1/media');

//Get all media items, limit to just 5 returned.
$res = $xm->makeRequest('GET','/v1/media', array(
  'limit' => 5,
));

//Create a new media item
$res = $xm->makeRequest('POST','/v1/media',array(),array(
  'title' => 'test',
));
var_dump($res);

Documentation

More information can be found in the online documentation at https://docs.xmaven.com/api/01-installation, (*8)

The Versions

12/05 2015

dev-master

9999999-dev https://docs.xmaven.com/api/01-installation

PHP Wrapper for Xmaven Remote Web Services

  Sources   Download

MIT

The Requires

 

The Development Requires

video media vod xmaven

11/05 2015

0.11

0.11.0.0 https://docs.xmaven.com/api/01-installation

PHP Wrapper for Xmaven Remote Web Services

  Sources   Download

MIT

The Requires

 

The Development Requires

video media vod xmaven

11/05 2015

0.1

0.1.0.0 https://docs.xmaven.com/api/01-installation

PHP Wrapper for Xmaven Remote Web Services

  Sources   Download

MIT

The Requires

 

The Development Requires

video media vod xmaven