2017 © Pedro Peláez
 

library amazon-mws-client

PHP client for Amazon MWS API

image

yuca/amazon-mws-client

PHP client for Amazon MWS API

  • Wednesday, April 18, 2018
  • by adarmanto
  • Repository
  • 0 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 50 % Grown

The README.md

PHP Client for Amazon MWS API

What for?

We got very disappointed with the official PHP client Amazon offers on their docs and decided to write a simple client based on Guzzle and suitable for PHP 7 projects. This project is based on the official client. The idea is to just hide all the nitty-gritty of handling requests and have as little abstraction as possible, basically you pass the request params and get a XML object back., (*1)

Check their documentation and scratchpad to learn all available actions and their request params: * http://docs.developer.amazonservices.com/en_UK/dev_guide/DG_Registering.html * https://mws.amazonservices.co.uk/scratchpad/index.html, (*2)

Requirements

  • PHP >= 5.6
  • Guzzle 6

Install

composer require yuca/amazon-mws-client, (*3)

Usage

// instantiate the client with your credentials
$client = new Yuca\AmazonMwsClient(
    'access key',
    'secret key',
    'seller id',
    ['marketplace id'],
    'mws auth token',
    'application name',
    'application version'
);

// List orders
$optionalParams = [
    'CreatedAfter'  => '2017-09-30T23:00:00Z', // dates should always be in ISO8601 format
    'CreatedBefore' => '2017-10-23T23:00:00Z',
];

var_dump($client->send('ListOrders', '/Orders/2013-09-01', $optionalParams));

Hot to contribute

Pull requests are welcome :), (*4)

License

MIT, (*5)

The Versions

18/04 2018

dev-master

9999999-dev https://github.com/YucaApp/amazon-mws-client

PHP client for Amazon MWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

api amazon client mws weengs

18/04 2018

1.1.1

1.1.1.0 https://github.com/YucaApp/amazon-mws-client

PHP client for Amazon MWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

api amazon client mws weengs

05/04 2018

1.1.0

1.1.0.0 https://github.com/YucaApp/amazon-mws-client

PHP client for Amazon MWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

api amazon client mws weengs

25/10 2017

1.0.1

1.0.1.0

PHP client for Amazon MWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

api amazon client mws weengs

25/10 2017

1.0.0

1.0.0.0

PHP client for Amazon MWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

api amazon client mws weengs