Skip to content

Created Weather app using django and made api call from open weather

Notifications You must be signed in to change notification settings

riteshpushkar/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

project Image

(https://github.com/riteshpushkar/weather-app/assets/79689579/2c6814f1-263a-4568-83b3-3190af13b1ac)

Weather App

This is a simple web application that fetches weather information for a given city using the OpenWeatherMap API. Users can input a city name, and the app will display details such as temperature, pressure, humidity, weather condition, sunrise, and sunset times.

Features

  • Fetches real-time weather data from OpenWeatherMap API.
  • Dynamically displays weather information based on user input.
  • Responsive design for optimal viewing on various devices.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Python (Django Framework)
  • OpenWeatherMap API

Installation

  1. Clone the repository:

git clone https://github.com/your-username/weather-app.git

  1. Install the required dependencies (assuming Python and pip are already installed):

cd weather-app pip install -r requirements.txt

  1. Obtain an API key from OpenWeatherMap and replace 'YOUR_API_KEY' in home() function inside views.py with your actual API key.

  2. Run the Django server:

  3. Access the application in your web browser at http://localhost:8000.

Usage

  1. Enter the name of the city for which you want to check the weather in the input field provided.
  2. Click on the "Get Weather" button.
  3. The application will display the weather information for the specified city.

Credits

About

Created Weather app using django and made api call from open weather

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published