未经审查/2parale

此包已被弃用且不再维护。未建议替代包。

非常简单的,抽象程度最低的2Parale API包装器。

0.1.1 2016-03-06 20:10 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:56:10 UTC


README

2parale SuperSimple API

Build Status Scrutinizer Code Quality SensioLabsInsight Latest Stable Version Total Downloads License BADGINATOR

非常简单的,抽象程度最低的2Parale API v. 0.1.0包装器。

如何使用

首先您需要一个2Parale账户

<?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方法

对于所有的API方法,您可以在以下链接中查看大量的TPerformat示例: https://github.com/2Parale/2Performant-php/blob/master/TPerformant.php

许可协议

            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.