JSPM

amazon-scraper-wintr

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q8144F
  • License GNU GENERAL PUBLIC LICENSE

Extract product data from Amazon search and product URLs

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

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)
})