Skip to content

Commit 020b113

Browse files
committed
Update README.md
1 parent 23fc886 commit 020b113

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Apaapi is an unofficial PHP library for accessing the Amazon Product Advertising
99
## 💡 Features
1010

1111
* **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).
1313
* **Search Filters** (Using builder).
1414
* **Geotargeting** (Automatically redirect links based on the visitor's region).
1515
* **Cart Generator** (Add to cart URL).
@@ -97,10 +97,10 @@ $data = $builder->searchOne('Sony Xperia 1 VI'); // Normalized array
9797
use Apaapi\includes\Product;
9898

9999
// (1) Init product
100-
$scraper = new Product('B0D1C9HRFP', '_LOCALE_', '_TAG_');
100+
$product = new Product('B00NLZUM36', 'com', 'test-21');
101101

102102
// (2) Get response
103-
$data = $scraper->get(); // Array
103+
$data = $product->get(); // Array
104104

105105
```
106106

@@ -117,7 +117,7 @@ Get customer reviews of product as average rating and count (Scraped data).
117117
use Apaapi\includes\Rating;
118118

119119
// Init Rating
120-
$rating = new Rating('_ASIN_', '_LOCALE_', '_TAG_');
120+
$rating = new Rating('B00NLZUM36', 'com', 'test-21');
121121

122122
// Get Response
123123
$data = $rating->get(); // Array
@@ -136,13 +136,15 @@ use Apaapi\lib\Cart;
136136

137137
// Init Cart
138138
$cart = new Cart();
139-
$cart->setLocale('_LOCALE_')->setPartnerTag('_TAG_');
139+
$cart->setLocale('com')->setPartnerTag('test-21');
140140

141141
// Get Response
142-
$data = $cart->set(['_ASIN_' => 3]); // String
142+
$data = $cart->set(['B00NLZUM36' => 3]); // String
143143

144144
```
145145

146+
## ⚡ Advanced
147+
146148
### Basic (Search):
147149

148150
Extensible search method.

0 commit comments

Comments
 (0)