Git Product home page Git Product logo

amazonpricetracker's Introduction

Amazon Price Tracker

Amazon Price Tracker is a web application that allows you to track the prices of products on Amazon.

Table of Contents

Features

  • Fetches and tracks the prices of products on Amazon.
  • Supports both new and used prices.
  • Provides a simple API to retrieve price information.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Go installed on your local machine.
  • Gin framework for web application.

Installation

  1. Clone the repository:

    git clone https://github.com/missuo/AmazonPriceTracker
    cd AmazonPriceTracker
  2. Build and run the application:

    go build main.go
    ./main

Usage

Once the application is running, you can access it through a web browser. Here are the available routes:

  • /: Home route that displays a welcome message.

  • /price: Price tracking route. You can provide a product link or ID as a query parameter to get the price information.

Example API request:

GET /price?link=https://www.amazon.com/dp/<product-id>

API Endpoint

The API endpoint for retrieving product price information is:

GET /price?link=<Amazon-product-link>&id=<Amazon-product-id>
  • link: The Amazon product link (e.g., https://www.amazon.com/dp/<product-id>).
  • id: (Optional) The Amazon product ID. If provided, it will be used instead of extracting the ID from the link.

Contributing

Contributions are welcome! If you would like to contribute to this project, please open an issue or create a pull request.

License

This project is licensed under the Apache License.

amazonpricetracker's People

Contributors

missuo avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.