Download the PHP package thewirecutter/paapi5-php-sdk without Composer
On this page you can find all versions of the php package thewirecutter/paapi5-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thewirecutter/paapi5-php-sdk
More information about thewirecutter/paapi5-php-sdk
Files in thewirecutter/paapi5-php-sdk
Package paapi5-php-sdk
Short Description ProductAdvertisingAPI 5.0 PHP SDK
License Apache-2.0
Homepage https://webservices.amazon.com/paapi5/documentation/index.html
Informations about the package paapi5-php-sdk
Product Advertising API 5.0 SDK for PHP
This repository contains the open source PHP SDK that allows you to access the Product Advertising API from your PHP app.
Copy of Amazon's Provided Code
This is a near identical public copy of Amazon's provided code, as their version is not available through Packagist as of writing.
We have not changed the API in any way, however we did cleanup portions of the code and have updated dependencies. A listing of changes are provided below.
Changes from Amazon
- Replaced usage of
\GuzzleHttp\Psr7\build_query
with\GuzzleHttp\Psr7\Query::build
https://github.com/thewirecutter/paapi5-php-sdk/pull/8 - Added Support for Guzzle 7 https://github.com/thewirecutter/paapi5-php-sdk/pull/6
- Removed Deprecation Warnings when using PHP 8 https://github.com/thewirecutter/paapi5-php-sdk/pull/13
- Removed Dynamic Property Creation Warnings when using PHP 8 https://github.com/thewirecutter/paapi5-php-sdk/pull/13
- Updated PHP Minimum Version to PHP 8 https://github.com/thewirecutter/paapi5-php-sdk/pull/13
- CodeSniffed to PSR-2 https://github.com/thewirecutter/paapi5-php-sdk/pull/13
- Updated Dev Dependencies to reflect PHP 8 version requirement https://github.com/thewirecutter/paapi5-php-sdk/pull/13
Installation
The Product Advertising API PHP SDK can be installed with Composer. The SDK is available via Packagist under the thewirecutter/paapi5-php-sdk
package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as a dependency:
Usage
Note: This version of the Product Advertising API SDK for PHP requires PHP 5.5 or greater.
Simple example for SearchItems to discover Amazon products with the keyword 'Harry Potter' in Books category:
Complete documentation, installation instructions, and examples are available here.
License
This SDK is distributed under the Apache License, Version 2.0, see LICENSE.txt and NOTICE.txt for more information.
All versions of paapi5-php-sdk with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2|^7.0