amazon-product-api

About The Project

Product Name Screen Shot

Its a simple api for fetching product details of amazon e-commerse website. Fetch amazon product and use them in your app and wherever you want.

Give your support and also suggest changes by forking this repo and creating a pull request or opening an issue.

(back to top)

Built With

(back to top)

Getting Started

You can make a local environment or use my deployed app.

https://amazon-product-apis.herokuapp.com/

Prerequisites

Should have python and nodejs localy install.

Installation

Install app to use in your local environment.

  1. Clone the repo

    git clone https://github.com/imranansari72/amazon-product-api
    cd amazon-product-api
  2. Install NPM packages
    npm install
  3. change directory
     node app.js

(back to top)

Usage

end-point : https://amazon-product-apis.herokuapp.com/

OR

If you are using localhost :

http://localhost:3000/

For checking api is live visit : <-endpoint->/api

/api
queries parrameters :

  1. query (required) :
https://amazon-product-apis.herokuapp.com/api?query=laptop
  1. price (can be range or number) (optional) :

https://amazon-product-apis.herokuapp.com/api?query=laptop&price=50000-60000
https://amazon-product-apis.herokuapp.com/api?query=laptop&price=50000
  1. brand (optional) :
https://amazon-product-apis.herokuapp.com/api?query=laptop&price=50000-60000&brand=dell
  1. for fetching more results for same request please add page parameter :
https://amazon-product-apis.herokuapp.com/api?query=laptop&price=50000-60000&page=2

/link
queries parrameters :
only takes link parameter (required) :
1.link :

https://amazon-product-apis.herokuapp.com/link?link=<link-of-product>

Enjoy the api.

please refer to the help

(back to top)

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request.

Don’t forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Imran Ansari – telegram[email protected]

Project Link: https://github.com/imranansari72/amazon-product-api

(back to top)

GitHub

View Github