Scraper API to get information of an Amazon product, built with NodeJS and Express.
Routes | Description | Request body | Response body |
---|---|---|---|
GET /product-search/:searchQuery |
Get list of products | None | List of products |
GET /product/:productId |
Get product by ID | None | Product |
GET /product-reviews/:productId |
Get list of product reviews | None | List of product reviews |
GET /product-offers/:productId |
Get list of product offers | None | List of product offers |
Before you can start using the API you need a key from ScraperAPI.
http://localhost:5000/product/PRODUCT_ID?api_key=YOUR_KEY
- Need to have NodeJS and NPM installed on your machine.
- Open the project on Visual Studio Code or terminal.
- Install dependencies running
npm install
- Run the project with
npm run dev
MIT License
Copyright (c) 2022 Anibal Ventura