august6th/amzn-sp-api 问题修复 & 功能扩展

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

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

august6th/amzn-sp-api

最新稳定版本:v2.0.2

Composer 安装命令:

composer require august6th/amzn-sp-api

包简介

Amazon Selling Partner API SDK

README 文档

README

The Selling Partner API for Retail Procurement Transaction Status provides programmatic access to status information on specific asynchronous POST transactions for vendors.

This PHP package is automatically generated by the Swagger Codegen project:

This PHP package has not modified any auto-generated code, so it can easily adapt even if Amazon officially updates the model or API.

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings via Composer

Then run composer require august6th/amzn-sp-api

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/./vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php

use SellingPartnerApi\Endpoint\Endpoint;

require_once(__DIR__ . '/vendor/autoload.php');

Endpoint::$sandbox = true;

// You can create SellingPartner with specific options

//$sp = SellingPartner::withOptions([
//    [
//        'client_id' => 'xxx',
//        'client_secret' => 'xxx',
//        'refresh_token' => 'xxx',
//        'access_key_id' => 'xxx',
//        'secret_access_key' => 'xxx',
//        'role_arn' => 'xxx',
//        'endpoint' => Endpoint::NA(),
//    ]
//]);

// Or create SellingPartner with default options
// You can change defaultOptionsFunc before create SellingPartner

//SellingPartner::setDefaultOptionsFunc(function () {
//    return [
//        'client_id' => 'xxx',
//        'client_secret' => 'xxx',
//        'refresh_token' => 'xxx',
//        'access_key_id' => 'xxx',
//        'secret_access_key' => 'xxx',
//        'role_arn' => 'xxx',
//        'endpoint' => Endpoint::NA(),
//    ];
//});

$sp = SellingPartner::instance();
$res = $sp->sellersApi()->getMarketplaceParticipations();
print_r($res);

?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固