This api is built on top of scrapperapi.con , ScrapperApi will scrap data based on the URL passed and retunr the json data. This API will provide the endpoints to reterive these data to use on any frontenc application
Stack Used - ExpressJs NodeJs
Data scrapped using scraperapi.com
To run the code -
- Download the code
- Go to the code folder
- Run npm install / yarn install
- Get your key by signing up at scrapperapi.com (this will scrap data of any url passed and return in Json format)
- npm run dev / yarn run dev
API Endpoints -
- Get Product Details- http://example.com/products/productId
- Get Product Reviews- http://example.com/products/productId/reviews
- Get Product offers - http://example.com/products/productId/offers
- Search Results - http://example.com/search/SearchQuery