Giter VIP home page Giter VIP logo

cayelsie / api-weather-analysis-and-vacation-planning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.16 MB

An API project that pulls weather from 500+ cities and examines correlations of weather measurements with latitude. Additionally, cities are filtered for "perfect" vacation weather, hotels are found near the perfect spots and a humidity heatmap is created using the hotel spots. Created using Pandas in Jupyter notebook and Jupyter gmaps.

Jupyter Notebook 99.99% Python 0.01%
api pandas jupyter-notebook jupyter-gmaps

api-weather-analysis-and-vacation-planning's Introduction

The first goal of this project was to obtain the current weather from 500+ cities across the globe and plot some common weather measurements vs city latitude to examine any possible correlations. This allows an analysis of cities' weather in conjunction with distance from the equator. This data was gathered using a Python library called Citypy (https://pypi.org/project/citipy/) and the OpenWeatherMap API (https://openweathermap.org/api). Plots were created using Pandas in Jupyter notebook with Matplotlib. The files associated with this part of the project are located in the WeatherPy folder. To run the notebook (WeatherPy_main.ipynb) and make the API calls, a working OpenWeatherMap API key will need to be inserted into the api_keys.py file.

The second goal of the project was to filter the chosen cities from the weather analysis by my ideal weather conditions for a vacation spot (max temperature between 70 and 80 degrees, humidity less than 65%, cloudiness less than 10% and wind speed less than 10 mph), find hotels within 5000 meters of each city and then create a humidity heatmap of the hotel locations. The hotels were found using Google Places API. The heatmap was created using Pandas in Jupyter notebook using Jupyter gmaps. The files associated with this part of the project are located within the VacationPy folder. To run the notebook (VacationPy_main.ipynb) and make the API calls, a working OpenWeatherMap API key and a working Google API key will need to be inserted into the api_keys.py file.

api-weather-analysis-and-vacation-planning's People

Contributors

cayelsie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.