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 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 = 'B0758GYJK2'
reviews = ab.get_reviews(asin=asin)
print(reviews)
ab.get_product_details(asin).save('{}.json'.format(asin))
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.18.tar.gz
(15.4 kB
view hashes)
Built Distribution
Close
Hashes for amazon_buddy-2.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba5acfa9a8de412c39f78d9dbcfb1b7c84e3d71b81ae9dd565baf6146e97e6d |
|
MD5 | 2a7bb70ac6e1f8e898c9ff30ee344e17 |
|
BLAKE2b-256 | ebf44912cf42a2f041462def18d117e2f26a86bbe7056b146e5ef4a0f4ff702d |