Skip to content

This Python project retrieves and displays the current temperature of a city using the OpenWeatherMap API. The user is prompted to enter a city name, and the program fetches the temperature data in Kelvin, which is then converted to Celsius.

Notifications You must be signed in to change notification settings

Ritik-Tyagi/using_api-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Weather Checker

This Python project allows users to check the temperature of any city by fetching real-time weather data from the OpenWeatherMap API. The program converts the temperature from Kelvin to Celsius and displays it to the user. It also allows users to check the temperature of multiple cities.

Features

  • Fetch real-time weather data from OpenWeatherMap API.
  • Convert temperature from Kelvin to Celsius.
  • Allows users to check the temperature of multiple cities.
  • Handles invalid city names with appropriate error messages.

Requirements

  • Python 3.x
  • requests library

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/weather-checker.git
    cd weather-checker

About

This Python project retrieves and displays the current temperature of a city using the OpenWeatherMap API. The user is prompted to enter a city name, and the program fetches the temperature data in Kelvin, which is then converted to Celsius.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages