Skip to content

aleguzmancs9/Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 

Repository files navigation


Logo

OtterWeather

Weather updates for otters
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

This is a weather app that uses multimedia to represent the current weather conditions.

The user will be given two options

  1. To attain the weather conditions for the current location
  2. Search for weather conditions of a desired location.

Once an option is selected the user will be brought to the results page where a background image, that matches the current weather condition, will appear. Music matching the current description will atomically play. The user will have the option to pause and play the music as desired.

The weather conditions (Weather Description, Current Temperature, Wind Speed, Feels Like, & Moon Phase) will be displayed along with clothing recommendations for the current weather conditions.

The user will also have the option to return to the home page by clicking a home page button.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

  • pip
    python3 -m pip install –upgrade pip
  • requests
    pip install requests
  • Flask
    pip install flask
  • matplotlib
    pip install matplotlib
  • OpenAI
    pip install --upgrade openai

Installation

  1. Get a free API Key at https://www.weatherapi.com

  2. Get a free API Key at https://openai.com/product

  3. Get a free API Key at https://ipstack.com

  4. Import packages

    from flask import Flask, render_template, request, send_file
    from openai import OpenAI
  5. Enter your API in terminal

    export OPENAI_API_KEY='Enter Your Api'
  6. Enter your API in api_key_openai

  7. Enter your API in api_key_weatherAPI

  8. Enter your API in api_key_ipstackAPI

(back to top)

Usage

Home Page Mist_Result
Sunny_Result Cloudy_Result

(back to top)

Future Work


- Weekly weather updates
- Pictures for Clothing Recoomendations
- More data about weather(High and Low, Average, etc.)
- More backgroud audios and images for more weather conditions

(back to top)

Contact

Alexis Guzman - Linkedin - aleguzmancs9@gmail.com
Dalia Cabrera - Linkedin - daliaesmcabrera@outlook.com
Jean-Luc Martel - Linkedin - jmartel@gmail.com
Ahmed Torki Linkedin - ahmedturki2232014@gmail.com

Project Link: https://github.com/aleguzmancs9/Weather.git

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors