Skip to content

halej2/python-api-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-api-challenge.

In this project I was tasked to:

  1. Generate random geographic coordinates and the nearest city to each latitude and longitude combination
  2. Use the OpenWeatherMap API to retrieve weather data from the cities list generated
  3. Create a series of scatter plots to showcase the following relationships:
  • Latitude vs. Temperature
  • Latitude vs. Humidity
  • Latitude vs. Cloudiness
  • Latitude vs. Wind Speed
  1. Compute the linear regression for each relationship. Separate the plots into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere (less than 0 degrees latitude)
  2. Use the Geoapify API and the geoViews Python library and create map visualizations.
  • Create a map that displays a point for every city found before and the size of the point correlates to the humidity in each city
  1. Narrow down the cities to cities with ideal weather conditions (i.e, good temperature, low humidity and cloudiness)
  2. For each city, use the Geoapify API to find the first hotel located within 10,000 meters of your coordinates and add the hotel name and the country as additional information in the hover message for each city on the map.
  • Work is in starter_code folder

About

Requested data from an API using Python for data analysis and created data visualizations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors