Giter Site home page Giter Site logo

theoctober19th / apple-price-comparison Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 223 KB

A script to compare the price of different Apple products in different countries across the globe.

License: MIT License

Python 100.00%
apple airpods hacktoberfest iphone macbook price script tracker utility

apple-price-comparison's Introduction

Apple Products Price Comparison

This script was developed to compare the price of different Apple products in different places across the globe.

Pre-requisites

  1. Exchange Rates Data API Key (Create an account and copy key from here: https://apilayer.com/marketplace/exchangerates_data-api)

Instructions

  1. Clone the repository and change to project directory.
  2. Copy the file .env.template to .env and then replace the API key with the one you copied from Exchange Rates Data API.
    cp .env.template .env
  3. Create a virtual environment and install dependencies from requirements.txt file.
    python -m venv env
    source env/bin/activate
    pip install -r requirements.txt
  4. Run script.py.
    python script.py

Run python script.py --help for a list of available options.

Contributing

Contributors are heartily welcome. The following things are still to be done:

  1. Automatic scraping of the product prices from the Apple website
  2. Add options to list only certain products.
  3. Add options to list only certain countries / places.

Screenshots

Screenshot

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.