Release 1.1.0rc5
Pre-release
Pre-release
Features
- Add function to get forecast for a specific future hour
- Implemented the
get_forecast_for_future_hour
method in theLocation
class to retrieve the forecast for a specific hour in the future. - The method takes a
datetime_input
parameter and anumber_of_hours
parameter, finds the corresponding forecast entry, and returns it in JSON format. If no forecast is found, an error message is returned. - Ensured the
datetime_input
parameter is timezone-aware and returns the forecast timestamp in UTC format. - Rounded the
sis
value to 0 decimal places.
- Implemented the
Improvements
- Update setup.py
- Bumped the version to
1.1.0rc5
.
- Bumped the version to
This release introduces a new method to retrieve specific hourly forecasts, ensuring accurate and timezone-aware timestamps, along with rounding improvements for the forecast values.