GithubHelp home page GithubHelp logo

openweather_gmaps_api's Introduction

api_challenge

Latitude and Longitude Analysis

Pick your ideal location spot around the world based on the weather of the day!

This python project brings together Citypy, the OpenWeatherMap API, and the Google Gmaps and Places API to give you a vacation destination list like no other!

Open up Weather.py for a loop that generates a list of 500 randomly generated cities around the world and their latitude and longitude coordinates. Using the OpenWeatherMap API, the code collects that day's humidity, wind speed, max temp, and more so you have perfect information about where you might want to go.

Weather.py gives extensive analysis comparing latitude to the windspeed, cloudiness, and the other weather metrics pulled from OpenWeather. image

image

image

image

Next go into Vacation.py to specify your ideal weather conditions. This code takes the 500+ cities run in Weather.py to narrow it to your ideal weather conditions. Want a dry mid-70s vacation spot? Or perhaps a tropical, humid paradise? This code will find you a dozen places to checkout.

So you've planned your idea vacation spot! Now what? The final part of Vacation.py lets you find top hotels in every area you're interested in and plots them on a map with an info box so you can toggle back and forth to your hearts desire.

image

image

Vacation planning made easy!

Citipy: https://pypi.org/project/citipy/ Wing Chen (developer of citipy): https://pypi.org/user/wingchen/

OpenWeatherMap Documentation: https://openweathermap.org/current

Gmaps Documentation: https://developers.google.com/maps/documentation

Google Places Documentation: https://developers.google.com/maps/documentation/places/web-service/overview

openweather_gmaps_api's People

Contributors

jshapi16 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.