PlanMyTrip is a top travel technology company specialized in internet related services in the hotel and lodging industry.
This project will enhance the user interface and functionalities of the PlanMyTrip app with the following steps:
- retrieve weather data including the weather description for over 500 cities across the world,
- create a customer travel destinations map,
- create a travel itinerary map.
- Data Source: citipy, jupyter-gmaps, OpenWeatherMap API, Google Maps and Places API, Google Maps Directions API
- Software: Python 3.7.7, Anaconda Navigator 1.9.12, Conda 4.8.4, Jupyter Notebook 6.0.3
The app uses the NumPy dependency to generate 2,000 sets of coordinates (latitude and longitude).
The Python's citipy module is then called to identify the nearest city for each coordinate combination.
The weather data is retrieved for all identified cities through a request to the OpenWeatherMap API.
Example of weather data retrieval
With Jupyter's gmaps plugin, user's weather preference inputs and requests to the Google Maps and Places API, the app generates a customer travel destinations map.
Using Google Maps Directions API the app generates a travel route between 4 cities selected by the user.