Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฆ๏ธ Weather Finder

A simple yet practical Python application that retrieves real-time weather information for any city using a weather API. The program accepts a city name from the user, sends an API request, processes the JSON response, and displays important weather details in a clean and readable format.


โœจ Features

  • ๐Ÿ” Search weather by city name
  • ๐ŸŒ Display country and city information
  • ๐ŸŒก๏ธ Temperature in Celsius (ยฐC)
  • ๐ŸŒก๏ธ Temperature in Fahrenheit (ยฐF)
  • ๐Ÿ“ก Real-time weather data using an API
  • ๐Ÿ“ฆ JSON response parsing
  • โšก Fast and lightweight command-line application

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • Requests Library
  • REST API
  • JSON

๐Ÿš€ How It Works

  1. Run the Python script.
  2. Enter the desired city name.
  3. The application sends a request to the weather API.
  4. The API returns weather data in JSON format.
  5. The program extracts the required information and displays:
    • City
    • Country
    • Temperature (ยฐC)
    • Temperature (ยฐF)

๐Ÿ“Œ Example Output

Enter City: London

City        : London
Country     : GB
Temperature : 18.4 ยฐC
Temperature : 65.1 ยฐF

๐Ÿ“– Concepts Practiced

  • Working with REST APIs
  • Sending HTTP requests
  • JSON Parsing
  • Dictionary Handling
  • User Input
  • Error Handling
  • Python Programming

๐Ÿ”ฎ Future Improvements

  • Display weather description
  • Humidity information
  • Wind speed
  • Sunrise & Sunset time
  • Weather icons
  • 5-Day Forecast

๐Ÿ‘จโ€๐Ÿ’ป Powered By

Muhammad Hasnain

If you found this project useful, consider giving it a โญ on GitHub.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages