定制 clsystems/sas-api-client 二次开发

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

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

clsystems/sas-api-client

Composer 安装命令:

composer require clsystems/sas-api-client

包简介

Share-A-Sale API library

README 文档

README

A PHP wrapper around the Share-A-Sale API.

This code is Publisher (Affiliate) specific.

If you are looking for Merchant specific code, check out https://github.com/ooglek/shareasale-merchant-api-sdk

Install

Install http://getcomposer.org/ and run the following command:

php composer.phar require clsystems/sas-api-client dev-master

Example

Calling from your code:

        use CLSystems\ShareASale\Client;
        
        $service = new Client();
        // See https://account.shareasale.com/a-apiManager.cfm for info
        // Remember to whitelist your calling IP
        $service->setServiceUrl('https://api.shareasale.com');
        $service->setVersion('2.3');
        $service->setAffiliateId([your affiliate id]);
        $service->setToken('[your token]');
        $service->setSecretKey('[your secret key]');
        
        $options = [
            'dateStart' => '6/22/2016',
        ];
        
        $records = $service->activity($options);
        
        var_dump($records);
        

Implemented Service Methods:

  • activity
  • activitySummary
  • apitokencount
  • balance
  • dailyActivity
  • couponDeals
  • edittrail
  • getMerchantDescription
  • getProducts
  • invalidLinks
  • ledger
  • merchantCreative
  • merchantDataFeeds
  • merchantGiftCard
  • merchantSearch
  • merchantSearchProduct
  • merchantStatus
  • merchantTimespan
  • monthlySummary
  • orderInquiry
  • paymentSummary
  • traffic
  • voidtrail

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固