Metadata-Version: 2.1
Name: scrape_amazon
Version: 0.1.9
Summary: Scrape Amazon Reviews
Home-page: http://github.com/officialpm/scrape-amazon
Download-URL: https://pypi.org/project/scrape-amazon
Author: Parth Maniar
Author-email: officialparthmaniar@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/officialpm/scrape-amazon
Project-URL: Code, https://github.com/officialpm/scrape-amazon
Project-URL: Issue tracker, https://github.com/officialpm/scrape-amazon/issues
Keywords: Amazon,Scrape,Reviews,Scraper,Products
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

<div align="center">

# scrape-amazon 🚀 

[![Downloads](https://img.shields.io/badge/dynamic/json?color=success&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fv2%2Fprojects%2Fscrape-amazon&style=flat-square)](https://github.com/officialpm/scrape-amazon)
![versions](https://img.shields.io/pypi/v/scrape-amazon?label=version&style=flat-square&color=ffd05b)
![pyVersions](https://img.shields.io/pypi/pyversions/scrape-amazon?style=flat-square&color=f58b1b)
![Stars](https://img.shields.io/github/stars/officialpm/scrape-amazon?color=e6e87d)
![Forks](https://img.shields.io/github/forks/officialpm/scrape-amazon?color=3efac5)
![License](https://img.shields.io/github/license/officialpm/scrape-amazon)
![Visitors](https://visitor-badge.laobi.icu/badge?page_id=officialpm.scrape-amazon)


</div>

## Installation

```shell
❯ pip install scrape-amazon
```

## Example

### Import as module

```python
from scrape_amazon import get_reviews

reviews = get_reviews('com','B085BCWJV6') #returns dataframe
#Reviewer, Rating, Title, Description, Date
```

### CLI

#### How to use
```shell
❯ scrape-amazon [domain] [product_id] [output_path].csv
```

#### Positional Arguments:
```shell
domain       Amazon Domain (in/com)
product_id   product id for scraping (B085BCWJV6)
output_path  output_path for saving (B085BCWJV6.csv)
```

#### Example
```shell
❯ scrape-amazon com B085BCWJV6 B085BCWJV6.csv
```

## Output

```shell
        Reviewer       Rating       Title       Description          Date
0     Parth Maniar       4      Great but ...     I change ...     '05/24/2021, 00:00:00'
1     Manpreet Singh     3      Delivers  ...     Great ph ...     '05/24/2021, 00:00:00' 
2     Aparna Uniyal      1      Battery/H ...     I have   ...     '05/24/2021, 00:00:00' 
3     Rahul              5      Great but ...     On the f ...     '05/24/2021, 00:00:00' 
```
## Want to contribute?
To get more information on contributing, go to the 
[CONTRIBUTING.md](https://github.com/officialpm/scrape-amazon/blob/master/CONTRIBUTING.md)

Also read the [CODE_OF_CONDUCT.md](https://github.com/officialpm/scrape-amazon/blob/master/CODE_OF_CONDUCT.md)
