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
requestslibrary 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-exceptblock to catch and handle exceptions.
Log in or sign up for Devpost to join the conversation.