This script was developed to compare the price of different Apple products in different places across the globe.
- Exchange Rates Data API Key (Create an account and copy key from here: https://apilayer.com/marketplace/exchangerates_data-api)
- Clone the repository and change to project directory.
- 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
- Create a virtual environment and install dependencies from
requirements.txt
file.python -m venv env source env/bin/activate pip install -r requirements.txt
- Run
script.py
.python script.py
Run python script.py --help
for a list of available options.
Contributors are heartily welcome. The following things are still to be done:
- Automatic scraping of the product prices from the Apple website
- Add options to list only certain products.
- Add options to list only certain countries / places.