The Fly Tracker library lets you monitor the flight prices for any route. The user has the option to set up notifications for the tracked route which can help him book tickets when he wants to.
Project description
fly_tracker
An open source project that helps you get the best flight deals!
Code Coverage
Overview
The Fly Tracker library lets you monitor the flight prices for any route. The user has the option to set up notifications for the tracked route which can help him book tickets when he/she wants to. Once you run the command to start the notifications, the script runs at 12 AM and 12 PM Everyday and this is exactly when you receive the email. The source of our data is Google Flights, which is very reliable since it lists the best price for every option and hence, we notify you with all options avalaible to you.
Table of Contents
Installation
To install the library:
pip install fly-tracker
Usage
The library takes the following arguments:
Argument | Name | Type | Description |
---|---|---|---|
src | Source | string | Source City/Airport |
dst | Destination | string | Destination City/Airport |
price | Price | int | The threshold price that you want to set |
date | Date | string | The date you want to fly on |
Email Address | string | The email address where you want to receive the notifications |
Run the following command:
python3 -m fly_tracker --src < src-city > --dest < dest-city > --price < price > --date < date > --email < email >
Replace < src-city >, < dest-city >, < price >, < date > and < email > with your desired values. This will start tracking the flight prices for the specified route.
Example
To receive notifications regarding fares below $100 for the New York to Boston route on May 12th, please execute the following command, with the specified email address included:
python3 -m fly_tracker --src "New York" --dest "Boston" --price 100 --date "12th May" --email "pandaritik39@gmail.com"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fly_tracker-1.0.0.tar.gz
.
File metadata
- Download URL: fly_tracker-1.0.0.tar.gz
- Upload date:
- Size: 317.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.28.2 setuptools/67.6.1 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80682c7d253b2a8781bf0d3d2cbdb67a3b62f90f48c1aca00c066db09d683f66 |
|
MD5 | bf73075b6a9f00a11fda1b15a46d34e6 |
|
BLAKE2b-256 | 644474eb0cf5d029f387f04a15c93d34bcb9860f017821f85d1a7505fdc658d1 |