Skip to content

resole79/flights_deal_finder

Repository files navigation

Flights Deal Finder

Program written in Python and requestes APIs

Take destinations and your budget price from Google Sheet with Sheety API and return a SMS alert using twilio API. The flights will reaserch in Tequila API

Flights Deal Finder

Search lowest prices of flights with us!

It's a part of the #100DaysOfCode challenge by Angela Yu.

Prerequisites

You will need the following software to run the Flights Deal Finder:

You will need the following API's account to run the Flights Deal Finder:

Installation

To get started with the Flights Deal, follow these steps:

  1. Install python-dotenv:
pip install python-dotenv
  1. Clone the repository:
git clone https://github.com/resole79/flights_deal.git
  1. Run the main.py file:
python3 main.py

File Structure

  • main.py: Main program.
  • data_manager.py : Class "DataManager"
    • Instance: sheety_json
    • Method: get_sheet, update_sheet
  • flight_search.py : Class "FlightSearch"
    • Method: get_code_city, search_fly
  • flight_data : Class "FlightData"
    • Instance: price, origin_city, origin_airport, destination_city, destination_airport, out_date, return_date
  • notification_manager.py : Class "NotificationManager"
    • Instance: client
    • Method: send_text

Usage


Credit

Author : Emilio Reforgiato (resole79)

About

Flights Deal Finder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages