amazon-scraper-wintr
v1.0.0
Published
Extract product data from Amazon search and product URLs
Downloads
4
Maintainers
Readme
Amazon product scraper powered by WINTR API
Extract product data from Amazon search and product URLs
Get started
- Create an account on WINTR to get an API KEY
- Visit your WINTR account info dashboard and copy your API KEY
Installation
$ npm install amazon-scraper-wintr
Scrape products
const Amazon = require('amazon-scraper-wintr')
const scraper = new Amazon('YOUR_WINTR_API_KEY')
scraper.getProducts('AMAZON_SEARCH_URL') // Example: https://www.amazon.com/s?k=phone
.then((data) => {
console.log(data)
})
.catch((err) => {
console.error(err)
})
Scrape product details
const Amazon = require('amazon-scraper-wintr')
const scraper = new Amazon('YOUR_WINTR_API_KEY')
scraper.getProductDetails('AMAZON_PRODUCT_URL') // Example: https://www.amazon.com/dp/B07ZDJCL76
.then((data) => {
console.log(data)
})
.catch((err) => {
console.error(err)
})