A modern and interactive travel booking dashboard built using Streamlit, the Amadeus API, and powered by Google Gemini.
Search, compare, and book flights and hotels seamlessly — all within a single, intuitive interface.
This app provides a unified platform to:
- Search for flights between two destinations.
- Explore hotels based on city, rating, and stay duration.
- Preview offers directly from Amadeus’ sandbox API.
- Simulate bookings for both flights and hotels using dummy traveler and payment information.
- Powered by Google Gemini to create a travel itinerary
Perfect for prototyping travel tech apps, dashboards, or Amadeus API integrations.
✅ Flight Search
- Enter origin, destination, and departure date.
- Retrieve live flight offers via the Amadeus API.
- Display key details: airline, route, time, and price.
✅ Hotel Search
- Filter by city, check-in/out dates, and star rating.
- Browse hotel offers with prices and IDs.
- Uses
amadeus.reference_data.locations.hotels.by_cityandhotel_offers_searchendpoints.
✅ Booking Simulation
- Confirm bookings using mock traveler and payment data.
- Logs responses and confirmations to the console.
- Safe to use in sandbox (no real transactions).
✅ Streamlit Sidebar Controls
- Quick, interactive UI for input and filtering.
- Select filters (e.g. hotel stars ⭐⭐⭐⭐).
- Dynamic response rendering.
| Layer | Technology |
|---|---|
| Frontend/UI | Streamlit |
| Backend Logic | Python |
| API Integration | Amadeus SDK |
| Environment Management | os (for API keys) |
| Data Handling | Native Python + Streamlit widgets |
git clone https://github.com/yourusername/travel-planner.git
cd travel-plannerpip install -r requirements.txtOpen the project files and replace each placeholder labeled "INSERT YOUR OWN" with your personal API keys from the Amadeus for Developers Portal and Google AI Studio.
Launch the application by running Streamlit and specifying the path to the travelagent.py file:
streamlit run "travelagent.py"💡Note: Make sure you’re executing this command from a directory where Streamlit is installed and your virtual environment (if any) is active.