clsystems/tt-api-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

clsystems/tt-api-client

Composer 安装命令:

composer require clsystems/tt-api-client

包简介

TradeTracker API client

README 文档

README

A TradeTracker API client to communicate with the webservice and map results to real model objects.

Build Status Total Downloads Latest Stable Version

Installation

You can install the package via composer:

$ composer require clsystems/tt-api-client

You must configure authentication in order to use the client.

$authentication = new Authentication(
    12345, // The customer id
    'passphrase', // The passphrase
    true, // Whether to not allow changes (optional)
    'en_GB', // The locale to be used for results. (optional)
    false // Whether to receive demo results. (optional)
);

Then inject the wsdl and the authentication object into the client.

$client = new TradeTrackerClient('http://ws.tradetracker.com/soap/affiliate?wsdl', $authenticate);

Usage

Call a client method to initiate the api call:

$affiliateSites = $client->getAffiliateSites();

Common methods are:

  • getAffiliateSites
  • getCampaigns
  • getMaterialItems
  • getClickTransactions
  • getConversionTransactions
  • getTransactions
  • getReportAffiliateSite
  • getReportCampaign
  • getFeeds
  • getFeedProductCategories
  • getFeedProducts

Some method calls can have an optional filter:

$filter = new AffiliateSiteFilter();
$filter->setLimit(5);

$affiliateSites = $client->getAffiliateSites($filter);

Testing

$ composer test

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固