Package Exports
- amazon-scraper-wintr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (amazon-scraper-wintr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-wintrScrape 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)
})