定制 hat-framework/e-goi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hat-framework/e-goi

最新稳定版本:v0.3.6

Composer 安装命令:

composer require hat-framework/e-goi

包简介

PHP API of E-goi

README 文档

README

PHP API for integrates E-goi multichannel marketing automation For usage access E-GOI site in http://www.e-goi.com/en/resources/api/

Requirements

PHP VERSION

  • PHP 5.3 or higher
  • ext-curl
  • ext-json

FOLLOW PACKAGES:

  • zendframework/zend-json
  • zendframework/zendrest
  • zendframework/zend-soap
  • zendframework/zend-xmlrpc

To install

You can clone this repositorie:

git clone https://github.com/twbs/bootstrap.git.

You can get it from [Composer](More information? http://getcomposer.org/)

composer require hat-framework/e-goi

or add this to your composer.json, and composer update

{
    "require": {
        "hat-framework/e-goi": "0.1.0"
    }
}

You can download files (but remember, in this case, you shoud install or download zendframework dependencies)

https://github.com/hat-framework/e-goi/archive/v0.3.4.zip

Usage

require_once './vendor/autoload.php';

$apikey = "<e-goi api key>";

$arguments = array(
    "apikey" => $apikey
);

// $api = EgoiApiFactory::getApi(Protocol::Soap);
// $api = EgoiApiFactory::getApi(Protocol::Rest);
$api = EgoiApiFactory::getApi(Protocol::XmlRpc);
$result = $api->getUserData($arguments);
print_r($result);

Credits

this package is based on https://github.com/alexndreazevedo/egoi-api-php. But the alexndreazevedo user doesn't updated e-goi api to 0.3.4 so i used their base code to update e-goi api to newest version

统计信息

  • 总下载量: 690
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache2
  • 更新时间: 2015-11-05