Skip to content

Commit 8f20395

Browse files
committed
Update examples
Added Credential-less use case
1 parent beded7b commit 8f20395

File tree

9 files changed

+27
-1
lines changed

9 files changed

+27
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
/**
2424
* Custom request client class.
25+
* @deprecated
2526
*/
2627
class MyClient extends Client
2728
{
File renamed without changes.
File renamed without changes.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* @author : Jakiboy
4+
* @package : Amazon Product Advertising API Library (v5)
5+
* @version : 1.3.x
6+
* @copyright : (c) 2019 - 2025 Jihad Sinnaour <[email protected]>
7+
* @link : https://jakiboy.github.io/apaapi/
8+
* @license : MIT
9+
*
10+
* This file if a part of Apaapi Lib.
11+
*/
12+
13+
declare(strict_types=1);
14+
15+
include '../src/Autoloader.php';
16+
\apaapi\Autoloader::init();
17+
18+
use Apaapi\includes\Product;
19+
20+
// Init Product
21+
$product = new Product('_ASIN_', '_LOCALE_', '__TAG__');
22+
$data = $product->get(); // Array
23+
var_dump($data);
24+
25+
// Any PR is welcome!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Apaapi\includes\Rating;
1919

2020
// Init Rating
21-
$rating = new Rating('_ASIN_', '_LOCALE_');
21+
$rating = new Rating('_ASIN_', '_LOCALE_', '__TAG__');
2222
$data = $rating->get(); // Array
2323
var_dump($data);
2424

0 commit comments

Comments
 (0)