Metadata-Version: 2.1
Name: amazon-buddy
Version: 2.0.12
Summary: python wrapper for the amazon_buddy npm package
Home-page: https://github.com/kkristof200/py_amazon_buddy
Author: Kristof
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4 (>=4.9.3)
Requires-Dist: jsoncodable (>=0.0.12)
Requires-Dist: kcu (>=0.0.63)
Requires-Dist: ksimpleapi (>=0.0.39)
Requires-Dist: noraise (>=0.0.8)
Requires-Dist: requests (>=2.25.1)
Requires-Dist: Unidecode (>=1.2.0)

# amazon_buddy

![python_version](https://img.shields.io/static/v1?label=Python&message=3.5%20|%203.6%20|%203.7&color=blue) [![PyPI downloads/month](https://img.shields.io/pypi/dm/amazon_buddy?logo=pypi&logoColor=white)](https://pypi.python.org/pypi/amazon_buddy)

## Description

Amazon scraper.

## Install

~~~~bash
pip install amazon_buddy
# or
pip3 install amazon_buddy
~~~~

## Usage

~~~~python
# from amazon_buddy import AmazonBuddy, Category, SortType

# ab = AmazonBuddy(debug=True)

# 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))

# reviews = ab.get_reviews(asin='B0758GYJK2')
# print(reviews)

from kcu import request, strio

strio.save('response.html', request.get('https://www.amazon.com', debug=True, max_request_try_count=1).text)
~~~~

