Skip to content

Commit e7a5ea2

Browse files
committed
Updated usage guide on readme
1 parent a92479a commit e7a5ea2

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,19 @@ Use URL insted of ASIN:
4848

4949
product = amazon.get_product('https://www.amazon.com/dp/B01N5IB20Q')
5050

51+
Get product variations:
52+
53+
product = amazon.get_variations('B01N5IB20Q')
54+
print(product[0].title)
55+
56+
Search product:
57+
58+
product = amazon.search_products(item_count=25, keywords='speaker')
59+
print(product[14].url)
60+
5161
Get the ASIN from a URL:
5262

53-
from amazon.paapi import get_asin
63+
from amazon.tools import get_asin
5464
asin = get_asin('https://www.amazon.com/dp/B01N5IB20Q')
5565

5666
Changelog

0 commit comments

Comments
 (0)