Group
Extension

Matches 2

WebService-ForecastIO ( M/MA/MALLEN/WebService-ForecastIO-0.02.tar.gz, MALLEN, 2016; MetaCPAN )
WebService-ForecastIO/lib/WebService/ForecastIO.pm ( view source; MetaCPAN )
    latitude          longitude
    my $json = $forecast->request(29.7492738082192, -95.4709680410959);

    # Human readable summary of daily data
    say $json->{daily}->{summary};

=head1 OVERVIEW
WebService-ForecastIO ( M/MA/MALLEN/WebService-ForecastIO-0.02.tar.gz, MALLEN, 2016; MetaCPAN )
WebService-ForecastIO/lib/WebService/ForecastIO/Request.pm ( view source; MetaCPAN )
::Request;
$WebService::ForecastIO::Request::VERSION = '0.02';
use Moo::Role;
use HTTP::Tiny;
use JSON;

# ABSTRACT: Request role for WebService::ForecaseIO


has 'base_url' => (
    is => 'ro',
    d
    );
    },
    lazy => 1,
);


has 'decoder' => (
    is => 'ro',
    default => sub {
        JSON->new();
    },
    lazy => 1,
);

sub request {
    my $self = shift;

    my $url = $self->base_
er agent for the role. Uses L<HTTP::Tiny>.

=head2 decoder

The library to deserialize JSON responses. Uses L<JSON>.

=head1 AUTHOR

Mark Allen <mrallen1@yahoo.com>

=head1 COPYRIGHT AND LICENSE

This

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.