«Basta aspettare — ho deciso di agire»
Quando Giuliana incontrò per la prima volta Marcello, le parve di aver finalmente trovato l’uomo con cui costru# World_Weather_Analysis
Module 6- APIs
|
The purpose of this analysis was to help PlanMyTrip create a beta version of their app with a few features to give customers the ability to filter the data for their weather preferences, which will be used to identify potential travel destinations and nearby hotels. From the list of potential travel destinations, the customer will then choose four cities to create a travel itinerary. Finally, using the Google Maps Directions API, we created a travel route between the four cities with additional travel information such as a marker layer map.
|
|
Here are the deliverables for the analysis for this project:
1.Retrieve Weather Data
2.Create a Customer Travel Destinations Map
3.Create a Travel Itinerary Map
|
|
Below are the images for each of the deliverables mentioned above.
|
**Deliverable 1:**
|
The first deliverable will generate a list of 2,000 random latitudes and longitudes, retrieve the nearest city, and perform an API call with the OpenWeatherMap. In addition to the city weather data you gathered in this module, you’ll use your API skills to retrieve the current weather description for each city. Then, we will create a new DataFrame containing the updated weather data by importing the WeatherPy_Database.csv which is located on my GitHub.
|

|
**Deliverable 2:**
|
For this deliverable, we will need to use input statements to retrieve customer weather preferences, then use those preferences to identify potential travel destinations and nearby hotels. Then, we will show those destinations on a marker layer map with pop-up markers.
|

|
**Deliverable 3:**
|
The last deliverable will use the Google Directions API to create a travel itinerary that uses our cities from the customer’s potential travel destinations from Deliverable 2. Next, we will create a marker layer map with a pop-up marker for the cities on the itinerary.
|
|
Images will be shown in order for travel route, city hotel, and weather details with a marker layer map in between each of the four cities listed as the following: Boston, Worcester, Laconia, and Portland.
|
|
**Travel Route**
|

|
|
**Marker Layer Map of Cities**
|

|
|
**Weather Data for Four Cities**
|

|
|
**Hosted on GitHub**
|
Jupyter Notebook and weather database file are hosted on my GitHub which could be found here:
https://github.com/jtpham24/World_Weather_Analysis
|
|
**Additional Comments**
|
I had assistance from the AskBCS Learning Assistant to help me with the deliverable 3 for the travel itinerary map and a few tweaks for the WeatherPy_vacation map. I also worked with my tutor for a few tweaks for the deliverable 2 and 3 as well to make sure the formatting was correct and to make sure the code was working properly. Overall, I feel like this was a very tough module but it was also fun to learn how APIs work and how to use keywords to get the correct data.