python wrapper for the amazon_buddy npm package
Project description
amazon_buddy
Description
Amazon scraper.
Install
pip install amazon_buddy
# or
pip3 install amazon_buddy
Usage
from amazon_buddy import Product, AmazonBuddy, Category, SortType
ab = AmazonBuddy(debug=True, user_agent='ADD_USER_AGENT')
# # products = ab.search_products(
# # 'face wash',
# # sort_type=SortType.PRICE_HIGH_TO_LOW,
# # min_price=0,
# # category=Category.BEAUTY_AND_PERSONAL_CARE,
# # max_results=20
# # )
# # print(len(products))
asin = 'B07RZV9LB7'
# # reviews = ab.get_reviews(asin=asin)
# # print(reviews)
ab.get_product_details(asin).save('{}.json'.format(asin))
# ab.get_product_details(asin).jsonprint()
# Product.load('/Users/kristofk/github/py_amazon_buddy/B0758GYJK2.json').jsonprint()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amazon_buddy-2.0.28.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for amazon_buddy-2.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795879af57448ddb81b9e43aa26d6f3fcfa78b15f63bf72260a5f8a1e49ec5f0 |
|
MD5 | 3f47f245d3ff252fe36b0ce6e8baf693 |
|
BLAKE2b-256 | e07170a6fa2fe049a2e0b28504355430f5be569f8cee26952ee4158e766b08da |