Publitio PHP SDK
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
samples code update Jan 15, 2018
examples.php small fix (remote upload added) Aug 22, 2018
publitio_api.php older php versions support Jul 9, 2018
readme.md older php versions support Jul 9, 2018

readme.md

Publitio PHP SDK

Simple PHP SDK for Publitio API. This SDK works OK with older versions of PHP (5.4+)

Installation

Just include publitio_api.php in your project and initiate it

require_once('publitio_api.php'); 
// Please update xxxx with your key and yyyy with your secret
$publitio_api = new PublitioAPI('xxxx', 'yyyy');

See examples.php file for full list of available classes, methods and options

Sample call to List Files

// list files
$response = $publitio_api->call("/files/list", "GET", array('offset' => '0', 'limit' => '10'));

//echo entire response
print_r($response);