Skip to content

1castilho/Flight_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight_Tracker

Track flights to help plan vacation or small trips

Objective

Create a tool to track flights listed in an online spreadsheet, compare with a maximum cost and print a message if lower prices are found, including: cost, origin, destination and dates.

Note: Twilio module is not active, but the module notification.py allows sending SMS via Twilio.

Setup Before Use

Create KIWI API Account

Use links below and create a Kiwi account. No need for a paid account.

Resources:

  1. Kiwi Partners Flight Search API
  2. Tequila Flight Search API Documentation

Google Spreadsheet

Create a google spreadsheet:

  1. Using google sheets to read, write and append data. Not an easy task and demanded a lot of searching the web to be able to interface with google sheets. Finally found a good video on Youtube in this link.

The google spreadsheet must have a tab named 'Flight_Wishlist' which must contain the following headers:

  1. Destination: with destination city, airport or country name.
  2. Type: identifying whether 'Destination' contains a city, airport or country.
  3. IATA_Code: this field can remain blank and is populated by the script.
  4. Max_Price: populate it if the max price for the flight price search. If no lower price is found, returns blank.

Once this step is complete you should also have a credentials.json saved to your folder, carrying your own data.

Changes to python scripts:

On main.py, update the following:

  1. Update the value of SPREADSHEET_ID to your own google spreadsheet. On flight_data.py, update the following:
  2. Update KIWI_API_KEY to your own Kiwi api key. Be careful not to share your key on the web!

About

Track flights to help plan vacation or small trips

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages