Skip to content

This project has two parts. The first part (WeatherPy) visualizes the weather of 500+ cities across the world of varying distance from the equator, using Python script, CityPy and OpenWeatherMap APIs. The second part (VacationPy) uses jupyter-gmaps and the Google Places API to create a heatmap of these cities.

Notifications You must be signed in to change notification settings

Samravp/Gmaps-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gmaps API

This repository is for a project called python-api-challenge.

I started by creating a Python script to visualise the weather of 500+ cities across the world of varying distance from the equator. I have created a series of scatter plots to showcase the following relationships:

  • Temperature (F) vs. Latitude
  • Humidity (%) vs. Latitude
  • Cloudiness (%) vs. Latitude
  • Wind Speed (mph) vs. Latitude

I ran linear regression on each relationship below;

  • Northern Hemisphere - Temperature (F) vs. Latitude
  • Southern Hemisphere - Temperature (F) vs. Latitude
  • Northern Hemisphere - Humidity (%) vs. Latitude
  • Southern Hemisphere - Humidity (%) vs. Latitude
  • Northern Hemisphere - Cloudiness (%) vs. Latitude
  • Southern Hemisphere - Cloudiness (%) vs. Latitude
  • Northern Hemisphere - Wind Speed (mph) vs. Latitude
  • Southern Hemisphere - Wind Speed (mph) vs. Latitude

My final notebook includes:

  • Randomly selected unique (non-repeat) cities based on latitude and longitude.
  • Weather check on each of the cities using a series of successive API calls.
  • A print log of each city as it's being processed with the city number and city name.
  • A CSV of all retrieved data and a PNG image for each scatter plot.

About

This project has two parts. The first part (WeatherPy) visualizes the weather of 500+ cities across the world of varying distance from the equator, using Python script, CityPy and OpenWeatherMap APIs. The second part (VacationPy) uses jupyter-gmaps and the Google Places API to create a heatmap of these cities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published