Download the PHP package bricre/amazon-selling-partner-sdk-authorization without Composer
On this page you can find all versions of the php package bricre/amazon-selling-partner-sdk-authorization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bricre/amazon-selling-partner-sdk-authorization
More information about bricre/amazon-selling-partner-sdk-authorization
Files in bricre/amazon-selling-partner-sdk-authorization
Package amazon-selling-partner-sdk-authorization
Short Description API client generated from OpenAPI definition from Amazon Selling Partner API for Authorization
License Apache-2.0
Informations about the package amazon-selling-partner-sdk-authorization
(Unofficial) Amazon Selling Partner API client (PHP) - Selling Partner API for Authorization
Code generated from Amazon's Swagger file using allansun/openapi-code-generator.
Generated code is well self-documented with proper PHPDoc annotations.
Please refer to Amazon's documentation for detailed API behaviour explanation.
Installation
You will also need a PSR-7 based client or Symfony's HTTP Foundation based client
So either use Guzzle (or any other PSR-7 compatible clients)
or Symfony HTTP Client
Versioning
This project matches Amazon's API versioning.
Due to the restriction of Composer, version number like '2021-01-01' will be changed to '2021.01.01'.
Should you found a matching version not being available. Please contact the author to generate against correct version.
Usage
First you need to configure OpenAPI\RunTime\Client with required credentials and predefined responses types. You only need to do this once (or create a service in your dependency injection).
You may also want to check out Amazon's document about how to authorize your request
Then in your business logic you can call API operations directly
Author
- Allan Sun - Initial work