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
Search lowest prices of flights with us!
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:
To get started with the Flights Deal, follow these steps:
- Install python-dotenv:
pip install python-dotenv
- Clone the repository:
git clone https://github.com/resole79/flights_deal.git
- Run the main.py file:
python3 main.py
- 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
Author : Emilio Reforgiato (resole79)