1 Commits

Author SHA1 Message Date
a61f9f2d2d
Initial commit of weather.sh script
This script retrieves current weather information from OpenWeatherMap API. It includes:
- OpenWeatherMap API key for data retrieval.
- Location settings for specifying the city and country.
- API request using cURL to fetch weather data.
- Extraction of relevant information from the JSON response using jq.
- Conversion of temperature from Kelvin to Celsius.
- Formulation of the weather information in a formatted English text.
- Output of the weather information.

Author: Michael Haider
Date: 2024-02-08
2024-02-08 16:03:47 +01:00