Skip to content
massive octo shame
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dist.ini Wrapper

This is a wrapper for the API. You need an API key to use it (
Please consult the API docs at

Example Use

use 5.016;
use Forecast::IO;
use Data::Dumper;

my $lat  = 43.6667;
my $long = -79.4167;
my $key = "c9ce1c59d139c3dc62961cbd63097d13"; # example API key

my $forecast = Forecast::IO->new(
    key       => $key,
    longitude => $long,
    latitude  => $lat,

say "current temperature: " . $forecast->{currently}->{temperature};

my @daily_data_points = @{ $forecast->{daily}->{data} };

# Use your imagination about how to use this data.
# in the meantime, inspect it by dumping it.
for (@daily_data_points) {
    print Dumper($_);


Patches/suggestions welcome


CPAN: coming soon

Something went wrong with that request. Please try again.