This project demonstrates a simple Flask application that exposes an API endpoint to retrieve weather information based on the visitor's IP address.
The application fetches the visitor's IP address, determines their location using IP geolocation, and retrieves current weather information for that location using the WeatherAPI service.
- Retrieves visitor's IP address and geolocation data.
- Fetches current weather information for the visitor's location.
- Responds with a JSON object containing IP address, location, and weather details.