A Java console application that fetches real-time weather information for any city using the Open-Meteo API.
- 🌍 Search weather by city name
- 📍 Converts city name to latitude & longitude
- 🌡️ Fetches real-time temperature
- ❌ Handles invalid city names gracefully
- 🔑 No API key required
- Java
- Maven
- HTTPURLConnection
- org.json
- Open-Meteo API
src
└── main
└── java
└── weather
└── app
└── Main.java
City Name
↓
Geocoding API
↓
Weather API
↓
Temperature Output
Enter city: Delhi
Temperature: 32.4°C
Aditya Soni
GitHub: https://github.com/Adityasoni720