Update weather icon URLs to new path #12
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed weather icon URL paths from '/img/w/' to '/img/wn/' to reflect OpenWeatherMap's updated icon hosting structure. This ensures correct icon display for all resolutions.
This pull request includes updates to fix incorrect weather icon URLs and increment the package version. The most important changes involve modifying the
WeatherRootclass to use the correct base URL for weather icons and updating the project metadata to reflect the changes.Fixes to weather icon URLs:
src/OpenWeatherMapSharp/Models/WeatherRoot.cs: Updated theIcon,Icon2x, andIcon4xproperties to use the correct base URL (https://openweathermap.org/img/wn/) for weather icons. This ensures compatibility with OpenWeatherMap's updated URL structure.Updates to project metadata:
src/OpenWeatherMapSharp/OpenWeatherMapSharp.csproj: Incremented the package version from4.0.0to4.0.1to reflect the bug fix.src/OpenWeatherMapSharp/OpenWeatherMapSharp.csproj: Updated thePackageReleaseNotesto include "Fix icon urls" as the description of changes in this release.