Awesome
:warning: Deprecated, please use 2parale/2performant!
2parale SuperSimple API
Super-simple, minimum abstraction 2Parale API v. 0.1.0 wrapper.
How to use it:
First you need to have a 2Parale account
<?php
use DouaParale\Parale\Parale;
/* New Object */
$parale = new Parale("2parale_user","2parale_password");
$commissions = $parale->call('commissions/listforaffiliate');
var_dump($commissions)
/* With arguments */
$campaings = $parale->call(
'campaigns/listforaffiliate',
array("page" => "1") // just pass in an array
);
var_dump($campaings);
API Methods:
For all the API methods, you can check the TPerformat shitload here: https://github.com/2Parale/2Performant-php/blob/master/TPerformant.php
License
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2015 Costin Moise <necenzurat+wtfpl@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.