Challenge 6: Weather API Application

This project is a simple Weather Information Application that fetches and displays real-time weather data for a user-specified city using the OpenWeatherMap API.

Features

  • Get the current weather description.
  • Display the current temperature in Celsius.
  • Validate city names and handle errors gracefully.

Learnings

  • How to use the requests library to make HTTP requests.
  • How to parse JSON data from the API response.
  • How to handle errors and exceptions in Python.
  • How to use the try-except block to catch and handle exceptions.

Built With

Share this project:

Updates