https://github.com/amitreddy14/travel-app
AI-powered Android application using Kotlin and Python that generates personalized travel itineraries which integrate real-time flight, hotel, and attraction searches via Amadeus and Google Places APIs.
https://github.com/amitreddy14/travel-app
amadeus-api chatgpt-api google-maps-api kotlin python
Last synced: 11 months ago
JSON representation
AI-powered Android application using Kotlin and Python that generates personalized travel itineraries which integrate real-time flight, hotel, and attraction searches via Amadeus and Google Places APIs.
- Host: GitHub
- URL: https://github.com/amitreddy14/travel-app
- Owner: Amitreddy14
- Created: 2025-04-26T17:41:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-27T05:35:50.000Z (about 1 year ago)
- Last Synced: 2025-06-15T21:47:08.567Z (about 1 year ago)
- Topics: amadeus-api, chatgpt-api, google-maps-api, kotlin, python
- Language: Kotlin
- Homepage:
- Size: 6.02 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Travel-APP - AI Powered Travel Planner
## :memo: Overview
Travel-APP is an AI-driven travel planning app that uses OpenAI’s GPT-3.5 Turbo model to create customized, day-by-day trip itineraries. It also lets users easily search for flights, hotels, and local attractions.
## :books: Libraries Used
- [Glide](https://github.com/bumptech/glide) - Used for loading and caching images for destinations, hotels etc.
- [Retrofit](https://square.github.io/retrofit/) - Used for making API GET requests to fetch hotels and itinerary response
- [RoomDB](https://developer.android.com/training/data-storage/room) - Used for storing saved trip itineraries for offline viewing
- [Amadeus Android SDK](https://github.com/amadeus4dev-examples/amadeus-android) - Used to fetch airports, flights and local tourist attractions
- [Google Places SDK](https://developers.google.com/maps/documentation/places/android-sdk/overview) - Used to fetch city data and autocomplete city names
- [Facebook Shimmer](https://github.com/facebookarchive/shimmer-android) - Used for loading animations throughout the application
- [Jsoup](https://jsoup.org/) - Used to parse HTML description for tourist attractions into text
## :artificial_satellite: APIs Used
- [Amadeus API](https://developers.amadeus.com/) - Used the following endpoints for multiple features:
- `shopping/activities` - Used to fetch local tourist attractions
- `shopping/flightOffersSearch` - Used to fetch flights for given input trip parameters
- `referenceData/locations/airports` - Used to fetch airport IATA codes for given set of coordinates
- [Booking.COM Scraper API](https://rapidapi.com/ntd119/api/booking-com18) - Used the `stays/search-by-geo` endpoint to fetch hotels for given input trip parameters
- [Google Places API](https://developers.google.com/maps/documentation/places/web-service/overview) - Used for autocompleting source and destination city name on the Search page
- [OpenAI API GPT3.5 Model](https://platform.openai.com/docs/models/gpt-3-5-turbo) - Used for generating day-by-day intinerary for given input trip parameters, selected hotel and flights
## :runner: How To Run
To run the backend server, simply attach your OPEN AI API Key in the `backend/prompt/inference.py` file and run the following command:
```
python3 .\backend\app.py
```
Then, ensure that your API keys for Google Places API, Amadeus API, and Booking.com API are configured correctly inside the `app/res/values/strings.xml` file.
```
YOUR_API_KEY_HERE
YOUR_API_KEY_HERE
YOUR_API_SECRET_HERE
YOUR_API_KEY_HERE
booking-com18.p.rapidapi.com
```