summaryrefslogtreecommitdiff
path: root/forecast.pl
diff options
context:
space:
mode:
Diffstat (limited to 'forecast.pl')
-rw-r--r--forecast.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/forecast.pl b/forecast.pl
index fd47323..c8d6e58 100644
--- a/forecast.pl
+++ b/forecast.pl
@@ -12,12 +12,11 @@ my $fio = WebService::ForecastIo->new({
api_key => $key,
});
-my ($response,$json) = $fio->request({
+my $json = $fio->request({
latitude => 51.54,
longitude => -0.37,
- exclude => ['minutely','flags'],
+ exclude => ['flags'],
+ raw => 1,
});
say $json;
-
-p $response;