Skip to content

Release 1.1.0rc5

Pre-release
Pre-release
Compare
Choose a tag to compare
@aschmere aschmere released this 01 Jun 10:57
· 1 commit to main since this release

Features

  • Add function to get forecast for a specific future hour
    • Implemented the get_forecast_for_future_hour method in the Location class to retrieve the forecast for a specific hour in the future.
    • The method takes a datetime_input parameter and a number_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.

Improvements

  • Update setup.py
    • Bumped the version to 1.1.0rc5.

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.