Metadata-Version: 2.1
Name: price-tracker
Version: 0.3
Summary: a python application to track prices on some online shopping applications
Home-page: https://github.com/Evasionn/price-tracker/
Author: Melihşah Akın
Author-email: melihsahakin@gmail.com
License: gpl13
Project-URL: Documentation, https://pyscaffold.org/
Description: # PRICE TRACKER
        [![Build Status](https://img.shields.io/pypi/pyversions/price-tracker)](https://pypi.org/project/price-tracker/)
        [![License](https://img.shields.io/github/license/Evasionn/price-tracker)](LICENSE)
        [![Version](https://img.shields.io/pypi/v/price-tracker)](https://pypi.org/project/price-tracker/)
        
        It's a simple python3 application that tracks prices and warn the user by email.
        
        ## Installation
        ### Requirements
        - python3 or later to run price-tracker
        - This application uses gmail smtp server, so firstly you should have a gmail account.
        I suggest you to use two-step verification for the application. For additional information check the links bellow.
        
            - [Google Two-Step Verification](https://www.google.com/landing/2step/)
            - [Google App Passwords](https://myaccount.google.com/apppasswords)
        - You can test application with using temp mail as receiver. I use [temp-mail.io](https://temp-mail.io/) while development.
        ### Stable Version
        #### Installing via pip
        recommended way to install is via pip:
        ```bash
        pip3 install price-tracker
        ```
        ### Latest Version
        #### Installing from Git
        You can install the latest version from Git
        ```bash
        pip3 install git+https://github.com/Evasionn/price-tracker.git
        ```
        ## Usage
        - input and config files must be json. 
        - prepare products.json. Example products.json is must be in format bellow!
        
        ```json
        [
          {
            "url": "https://www.hepsiburada.com/iphone-se-64-gb-p-HBV00000SXR45",
            "warn_price": 5000
          },
          {
            "url": "https://www.amazon.com.tr/Philips-Hd7461-20-Kahve-Makinesi/dp/B00R04CAH0/ref=zg_bs_kitchen_home_1?_encoding=UTF8&psc=1&refRID=Q90ZVE1A20WY367CAJPQ",
            "warn_price": 550
          },
          {
            "url": "https://www.vatanbilgisayar.com/arnica-ih33151-demli-rose-cay-makinesi.html",
            "warn_price": 340
          }
        ]
        ```
        - To run type in terminal
        ```bash
        price_tracker
        ``` 
        or with defining input file 
        ```bash
        price_tracker -i products.json
        ```
        
        - optionally you can define a config.json. It should be in format bellow:
        ```json
        {
            "sender_gmail": "gmail@gmail.com",
            "gmail_password": "mygmailpassword!",
            "receiver_mail": "receiver@gmail.com" 
        }
        ```
        To run with config file 
        ```bash
        price_tracker -i products.json -c config.json
        ```
        
        - To run in background products and config file must be given as command line argument
        ```bash
        nohup python3 -u -m price_tracker -i products.json -c config.json &
        ```
        
        ### Supported Web Sites
        - [hepsiburada.com](https://www.hepsiburada.com/)
        - [gittigidiyor.com](https://www.gittigidiyor.com/)
        - [trendyol.com](https://www.trendyol.com/)
        - [amazon.com](https://www.amazon.com/) for each country
        - [vatanbilgisayar.com](https://www.vatanbilgisayar.com/)
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Description-Content-Type: text/markdown; charset=UTF-8
Provides-Extra: testing
