# simple-amazon-scraper

> A simple scraper to get products from Amazon

Latest version **1.0.5** (published 2020-06-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install simple-amazon-scraper
pnpm add simple-amazon-scraper
yarn add simple-amazon-scraper
bun add simple-amazon-scraper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-06-11 |
| First published | 2020-05-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | iCourt |
| Maintainers | officialcourt |

## Links

- npm: https://www.npmjs.com/package/simple-amazon-scraper
- Repository: https://github.com/icourt1/simple-amazon-scraper
- Homepage: https://github.com/icourt1/simple-amazon-scraper#readme
- Issues: https://github.com/icourt1/simple-amazon-scraper/issues
- npm.io page: https://npm.io/package/simple-amazon-scraper

## Recent versions

- 1.0.5 (latest) — 2020-06-11
- 1.0.4 — 2020-05-23
- 1.0.3 — 2020-05-23
- 1.0.2 — 2020-05-23
- 1.0.1 — 2020-05-23
- 1.0.0 — 2020-05-23

## README

# Simple Amazon Scraper
A node package that allows you to scrape the name and price of a URL from Amazon.
- Currently only supports US urls.

# Installation

```shell
npm install simple-amazon-scraper
```

# Usage
### Using .then()
```js
const amazon = require('simple-amazon-scraper');

amazon('ProductURL')
.then(product => console.log(product));
// Result:
// {
//   price: '$amount',
//   name: 'some long item name'
// }
```
### Using async/await

```js
const amazon = require('simple-amazon-scraper');
(async() => {
    const product = await amazon('ProductURL')
    console.log(product);
})();
// Result:
// {
//   price: '$amount',
//   name: 'some long item name'
// }
```

---
_Source: https://npm.io/package/simple-amazon-scraper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
