About The Project
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.
Built With
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.
- Clone the repo
git clone https://github.com/imranansari72/amazon-product-api cd amazon-product-api
- Install NPM packages
npm install
- change directory
node app.js
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 :
- query (required) :
https://amazon-product-apis.herokuapp.com/api?query=laptop
- 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
- brand (optional) :
https://amazon-product-apis.herokuapp.com/api?query=laptop&price=50000-60000&brand=dell
- 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
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
Imran Ansari – telegram – [email protected]
Project Link: https://github.com/imranansari72/amazon-product-api