Group
Extension

Matches 1

Yahoo-Weather-Api ( S/SP/SPAJAI/Yahoo-Weather-Api-2.00.tar.gz, SPAJAI, 2018; MetaCPAN )
Yahoo-Weather-Api/lib/Yahoo/Weather/Api.pm ( view source; MetaCPAN )
o::Weather::Api->new({ 'unit' => 'C'});

B<Format> return data type from api JSON B<json> or XML B<xml> 

Default is B<json>

    my $api = Yahoo::Weather::Api->new({ 'format' => 'xml' , 'unit' => 'F'
oeid_alternate

Fetch woeid for a place using alternate method (zip,city/location name) B<Stricty JSON return type data>

get_woeid_alternate uses unexposed Yahoo's api so no API call caping

this met
} || 'json';
    $args->{unit}  = $args->{unit} || 'c';
    $args->{internet_check} = $args->{internet_check} || 0;

    croak "Invalid format use json or xml " unless ($args->{format} =~ /^(json|xml)

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