Skip to content

Conversation

@ayush0-7
Copy link

🌦️ Weather Info Script (Python)

A simple Python script that fetches and displays the current weather information for a given location (default: India) using the WeatherAPI.


📘 Description

This script uses the requests library to call the WeatherAPI and retrieve real-time weather data.
It then prints information such as temperature, humidity, region, country, and weather condition.


⚙️ Features

  • Fetches current temperature in both Celsius and Fahrenheit
  • Displays country, region, and humidity
  • Shows the last updated time and weather condition
  • Uses a simple and readable function-based structure

🧰 Requirements

Before running the script, make sure you have the following installed:

python 3.x
requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant