Skip to content

Commit 1c898c3

Browse files
committed
Updated get_products on readme
1 parent 5e5dd1d commit 1c898c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ Basic usage:
3333

3434
from amazon.paapi import AmazonAPI
3535
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY)
36-
product = amazon.get_product('B01N5IB20Q')
36+
product = amazon.get_products('B01N5IB20Q')
3737
print(product.title)
3838

3939
Get multiple product information:
4040

41-
product = amazon.get_product('B01N5IB20Q,B01F9G43WU')
41+
product = amazon.get_products('B01N5IB20Q,B01F9G43WU')
4242
print(product[0].images.large)
4343
print(product[1].prices.price.value)
4444

4545
Use URL insted of ASIN:
4646

47-
product = amazon.get_product('https://www.amazon.com/dp/B01N5IB20Q')
47+
product = amazon.get_products('https://www.amazon.com/dp/B01N5IB20Q')
4848

4949
Get the ASIN from a URL:
5050

0 commit comments

Comments
 (0)