Subject: | YR API version 1.5 no longer active |
Hello, API version 1.5 is no longer supported by YR. Apparently the current one is 1.8, but
bumping the version directly from the default base url might or not have an impact on how the
returning document gets parsed.
~ $ perl -MWeather::YR::Locationforecast -e 'use Data::Dumper; my $w =
Weather::YR::Locationforecast->new({ latitude => "40.7142", longitude => "-74.0064" }); print
Dumper $w->forecast;'
Unable to fetch content at url http://api.yr.no/weatherapi/locationforecast/1.5/?
lon=-74.0064&lat=40.7142 at /opt/local/lib/perl5/site_perl/5.12.4/Weather/YR/Base.pm line
86.
~ $
That endpoint returns now an HTTP Not Found status.