@@ -9,7 +9,7 @@ Apaapi is an unofficial PHP library for accessing the Amazon Product Advertising
9
9
## 💡 Features
10
10
11
11
* ** Request Builder** (Easier way to fetch API data).
12
- * ** Credential-less** (No credentials required using scraper).
12
+ * ** Credential-less** (No credentials required using product scraper).
13
13
* ** Search Filters** (Using builder).
14
14
* ** Geotargeting** (Automatically redirect links based on the visitor's region).
15
15
* ** Cart Generator** (Add to cart URL).
@@ -97,10 +97,10 @@ $data = $builder->searchOne('Sony Xperia 1 VI'); // Normalized array
97
97
use Apaapi\includes\Product;
98
98
99
99
// (1) Init product
100
- $scraper = new Product('B0D1C9HRFP ', '_LOCALE_ ', '_TAG_ ');
100
+ $product = new Product('B00NLZUM36 ', 'com ', 'test-21 ');
101
101
102
102
// (2) Get response
103
- $data = $scraper ->get(); // Array
103
+ $data = $product ->get(); // Array
104
104
105
105
```
106
106
@@ -117,7 +117,7 @@ Get customer reviews of product as average rating and count (Scraped data).
117
117
use Apaapi\includes\Rating;
118
118
119
119
// Init Rating
120
- $rating = new Rating('_ASIN_ ', '_LOCALE_ ', '_TAG_ ');
120
+ $rating = new Rating('B00NLZUM36 ', 'com ', 'test-21 ');
121
121
122
122
// Get Response
123
123
$data = $rating->get(); // Array
@@ -136,13 +136,15 @@ use Apaapi\lib\Cart;
136
136
137
137
// Init Cart
138
138
$cart = new Cart();
139
- $cart->setLocale('_LOCALE_ ')->setPartnerTag('_TAG_ ');
139
+ $cart->setLocale('com ')->setPartnerTag('test-21 ');
140
140
141
141
// Get Response
142
- $data = $cart->set(['_ASIN_ ' => 3]); // String
142
+ $data = $cart->set(['B00NLZUM36 ' => 3]); // String
143
143
144
144
```
145
145
146
+ ## ⚡ Advanced
147
+
146
148
### Basic (Search):
147
149
148
150
Extensible search method.
0 commit comments