Skip to main content

python wrapper for the amazon_buddy npm package

Project description

amazon_buddy

python_version PyPI downloads/month

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


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.29.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

amazon_buddy-2.0.29-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file amazon_buddy-2.0.29.tar.gz.

File metadata

  • Download URL: amazon_buddy-2.0.29.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for amazon_buddy-2.0.29.tar.gz
Algorithm Hash digest
SHA256 e48c1f7efc66365e8b819b0ded54a49918a429e4baa91cc59d58fba058b8dfac
MD5 dd43aaf1c7e06f67628d768f7496a2e0
BLAKE2b-256 198c2ad8c21034e0bdbf82640db82d166dc81c33231daf712f4c33c94eb50e4d

See more details on using hashes here.

File details

Details for the file amazon_buddy-2.0.29-py3-none-any.whl.

File metadata

  • Download URL: amazon_buddy-2.0.29-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for amazon_buddy-2.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 6c1f262d598754927652454163e303ca728abe032cd62d2eb1e18ef99c18a96a
MD5 5e76998e5737b8f010f86563d2bea56a
BLAKE2b-256 4775b75eed11dc9692900d63b471bfc4fc574cb23aa6b60f92bb4f8160448da2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page