Skip to content

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

License

Notifications You must be signed in to change notification settings

theoctober19th/apple-price-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages