Skip to main content

Find the price on Amazon store starting from url

Project description

AmazonStorePrice

This module find the price from url given

Compatible with all amazon store

Build Status Github All Releases Documentation Status Coverage Status

Link

Documentation: http://amazonstoreprice.readthedocs.org/

Bug Tracker: https://github.com/Mirio/amazonstoreprice/issues

GitHub: https://github.com/Mirio/amazonstoreprice

Requirement

Python 3.x

Python Library = [ 'requests', 'beautifulsoup4' ]

How to install

pip install amazonstoreprice

Install from source

git clone https://github.com/Mirio/amazonstoreprice.git
cd amazonstoreprice
python setup.py install

Getting Started

Example:

from amazonstoreprice import AmazonStorePrice

url = "http://www.amazon.it/Inside-Out-Ronnie-Del-Carmen/dp/B016LMC90O/" \
      "ref=sr_1_1?ie=UTF8&qid=1455389197&sr=8-1&keywords=inside+out"
pricelib = AmazonStorePrice()
print(pricelib.getprice(url, retry_ontemp=True))

Output:

$ python example_getprice.py
15.99

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

amazonstoreprice-0.1.7.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

amazonstoreprice-0.1.7-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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